From: Rick Arnold Date: Thu, 24 Jan 2013 02:32:46 +0000 (+1100) Subject: go/build: document blank line required after build constraints X-Git-Tag: go1.1rc2~1299 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=2e51f7828017db23fa18fc883c5d6a76abcc3b88;p=gostls13.git go/build: document blank line required after build constraints Fixes #3539. R=golang-dev, dave, adg CC=golang-dev https://golang.org/cl/7206049 --- diff --git a/src/pkg/go/build/doc.go b/src/pkg/go/build/doc.go index 36dd308934..c562d05d00 100644 --- a/src/pkg/go/build/doc.go +++ b/src/pkg/go/build/doc.go @@ -63,6 +63,9 @@ // they must appear near the top of the file, preceded // only by blank lines and other line comments. // +// To distinguish build constraints from package documentation, a series of +// build constraints must be followed by a blank line. +// // A build constraint is evaluated as the OR of space-separated options; // each option evaluates as the AND of its comma-separated terms; // and each term is an alphanumeric word or, preceded by !, its negation.