diff options
author | Melody Horn <melody@boringcactus.com> | 2020-10-01 04:41:51 -0600 |
---|---|---|
committer | Melody Horn <melody@boringcactus.com> | 2020-10-01 04:41:51 -0600 |
commit | 22a94474f8cf8a4e34eacbce3ef58ccdd8949f2f (patch) | |
tree | dbec31dbb22bfbca2aae98fb5bcc91a04837682b | |
parent | 67b952c248108733493867499d080a28d26a131b (diff) | |
download | spec-22a94474f8cf8a4e34eacbce3ef58ccdd8949f2f.tar.gz spec-22a94474f8cf8a4e34eacbce3ef58ccdd8949f2f.zip |
no nested comments oops
-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 `*/`. |