Comment #128
Editorial
| Status: | Open | Start: | 12/20/2009 | |
| Priority: | Normal | Due date: | ||
| Assigned to: | - | % Done: | 0% |
|
| Category: | - | |||
| Target version: | - | |||
| Clause: | 8.4 |
Page and Line: | 27:16 |
|
Description
"A single-line-comment can contain any characters except line-terminators."
Can you add this exclusion to the syntax shown earlier?
History
Updated by Shugo Maeda 261 days ago
Rex Jaeschke wrote:
"A single-line-comment can contain any characters except line-terminators."
Can you add this exclusion to the syntax shown earlier?
We can't add the exclusion to the syntax simply because line-terminator may contains two characters.
That is, the following rule is not correct:
line-content :: (source-character but not line-terminator)+
It should be as follows:
line-content :: ((source-character source-character?) but not line-terminator)+
Please see comment #46.