aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--syntax.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/syntax.md b/syntax.md
index 8b1c169..1555409 100644
--- a/syntax.md
+++ b/syntax.md
@@ -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 `*/`.