At 09:50 AM 8/13/2003, you wrote:
>I hope this is the appropriate board for the topic...
>I would like to define a SYN-File for Inno Setup (www.jrsoftware.org)
>and have a problem with handling inline comments, since they are
>seperated from rest of the line by a simple ';'. ; however is also used
>to seperate multiple parameters. So a comment would be anything that
>starts ";", optionally followed by whitespace and NOT followed by a
This does not appear to be possible; sorry.
Frankly, a proper syntax should never depend upon later elements. Such a syntax would flunk any course on compiler design. (Sorry to rant and rave.)
I try to accommodate unusual languages, but that is going too far.