summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.
*