]> Cypherpunks repositories - gostls13.git/commitdiff
go/build: document blank line required after build constraints
authorRick Arnold <rickarnoldjr@gmail.com>
Thu, 24 Jan 2013 02:32:46 +0000 (13:32 +1100)
committerAndrew Gerrand <adg@golang.org>
Thu, 24 Jan 2013 02:32:46 +0000 (13:32 +1100)
Fixes #3539.

R=golang-dev, dave, adg
CC=golang-dev
https://golang.org/cl/7206049

src/pkg/go/build/doc.go

index 36dd308934c57227c2b22e81eff571df93cfb752..c562d05d00fba8417d2c8ce733c60d260cb0ade2 100644 (file)
@@ -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.