summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-12-13 12:11:56 -0800
committerRuss Cox <rsc@golang.org>2009-12-13 12:11:56 -0800
commitb718c22a47dac8134b4ca39789fa6d15a338fdd6 (patch)
tree9b29ed476f436d6b651b047e451f7fbadb3d2444 /src
parenteaf1a8becdf444c9724de52c68e095c20d6fe569 (diff)
downloadgolang-b718c22a47dac8134b4ca39789fa6d15a338fdd6.tar.gz
gc: fix comment
R=gri CC=golang-dev http://codereview.appspot.com/174077
Diffstat (limited to 'src')
-rw-r--r--src/cmd/gc/go.y5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/cmd/gc/go.y b/src/cmd/gc/go.y
index 6e100d1f4..2fd36e751 100644
--- a/src/cmd/gc/go.y
+++ b/src/cmd/gc/go.y
@@ -7,9 +7,8 @@
*
* The Go semicolon rules are:
*
- * 1. all statements and declarations are terminated by semicolons
- * 2. semicolons can be omitted before and after the closing ) or }
- * on a list of statements or declarations.
+ * 1. all statements and declarations are terminated by semicolons.
+ * 2. semicolons can be omitted before a closing ) or }.
* 3. semicolons are inserted by the lexer before a newline
* following a specific list of tokens.
*