diff options
-rw-r--r-- | syntax.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -154,6 +154,6 @@ A nonempty sequence of characters is considered to be *whitespace* if each chara A *comment* can be either a *line comment* or a *block comment*. -A *line comment* begins with the characters `//` if they occur outside of a string literal and ends with a newline character U+000A. +A *line comment* begins with the characters `//` if they occur outside of a string literal or comment, and ends with a newline character U+000A. -A *block comment* begins with the characters `/*` if they occur outside of a string literal and ends with the characters `*/`. +A *block comment* begins with the characters `/*` if they occur outside of a string literal or comment, and ends with the characters `*/`. |