1
0
mirror of https://github.com/golang/go synced 2024-11-26 23:01:23 -07:00

go/build: document blank line required after build constraints

Fixes #3539.

R=golang-dev, dave, adg
CC=golang-dev
https://golang.org/cl/7206049
This commit is contained in:
Rick Arnold 2013-01-24 13:32:46 +11:00 committed by Andrew Gerrand
parent 2e15f4b8c4
commit 2e51f78280

View 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.