aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2020-10-01 04:41:51 -0600
committerMelody Horn <melody@boringcactus.com>2020-10-01 04:41:51 -0600
commit22a94474f8cf8a4e34eacbce3ef58ccdd8949f2f (patch)
treedbec31dbb22bfbca2aae98fb5bcc91a04837682b
parent67b952c248108733493867499d080a28d26a131b (diff)
downloadspec-22a94474f8cf8a4e34eacbce3ef58ccdd8949f2f.tar.gz
spec-22a94474f8cf8a4e34eacbce3ef58ccdd8949f2f.zip
no nested comments oops
-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 `*/`.