Comment #128

Editorial

Added by Rex Jaeschke 262 days ago. Updated 261 days ago.

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?


Related issues

related to Comment #46 Discrepancy in line-content Closed 12/01/2009

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.

Also available in: Atom PDF