mirror of
https://github.com/golang/go
synced 2024-11-21 21:04:41 -07:00
parent
f646296185
commit
978c3e96d1
@ -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.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user