On 15/09/2012 5:30 a.m., Alex Rousskov wrote:
> On 09/14/2012 10:10 AM, Alex Rousskov wrote:
>> suffix-comment = optional whitespace followed by <#>,
>> followed by optional whitespace and end of line
> Err. This is wrong on several counts, sorry. Most importantly, the
> preprocessor would need to be aware of quoted strings to handle comments
> (and possibly new lines) correctly, but these low-level details are not
> really important for this discussion.
>
> Alex.
>
Each directives parser should be aware of how many tokens are expected
on each line and where suffix #comments are valid starting.
The word retrieval function can take a flag indicating a comment is
acceptible and drop it, returning EOL indicator instead if found.
Amos
Received on Fri Sep 14 2012 - 23:17:53 MDT
This archive was generated by hypermail 2.2.0 : Sat Sep 15 2012 - 12:00:06 MDT