com php-langspec: Fix markup for comment delimiters: spec/09-lexical-structure.md
[email protected] (Nikita Popov) Wed, 31 Aug 2016 12:49:37 +0000
| Newsgroups | php.standards.cvs |
|---|---|
| Message-ID | <[email protected]> |
Commit: dbb78b15a468c7138c8b0fda1adb1c31cc6f86d2=0AAuthor: Ivan Ender= lin <[email protected]> Wed, 24 Aug 2016 16:32:33 +0200= =0ACommitter: Nikita Popov <[email protected]> Wed, 31 Aug 2016 14:49:37 += 0200=0AParents: 8e8df911b732cc08ca0ae45f788c918147b9d007=0ABranches: mas= ter=0A=0ALink: http://git.php.net/?p=3Dphp-langspec.git;a=3Dcommitdif= f;h=3Ddbb78b15a468c7138c8b0fda1adb1c31cc6f86d2=0A=0ALog:=0AFix markup for c= omment delimiters=0A=0AChanged paths:=0A M spec/09-lexical-structure.md= =0A=0A=0ADiff:=0Adiff --git a/spec/09-lexical-structure.md b/spec/09-lexica= l-structure.md=0Aindex f8dcd74..b892222 100644=0A--- a/spec/09-lexical-stru= cture.md=0A+++ b/spec/09-lexical-structure.md=0A@@ -136,9 +136,9 @@ Two for= ms of comments are supported: *delimited comments* and=0A =0A **Semantics**= =0A =0A-Except within a string literal or a comment, the characters /\* sta= rt a=0A-delimited comment, which ends with the characters \*/. Except withi= n a=0A-string literal or a comment, the characters // or \# start a single-= line=0A+Except within a string literal or a comment, the characters `/*` st= art a=0A+delimited comment, which ends with the characters `*/`. Except wit= hin a=0A+string literal or a comment, the characters `//` or `#` start a si= ngle-line=0A comment, which ends with a new line. That new line is not part= of the=0A comment. However, if the single-line comment is the last source = element=0A in an embedded script, the trailing new line can be omitted. (No= te: this=0A