At 08:28 11/07/2009, Sylvain, Gregory [USA] wrote:
>I'm suspecting that it may be the way gunit is handling multiple
>newlines? The grammar defines a EOL as follows:
>
>EOL : ( CRCRLF | CRLF | LF ) ;
>fragment CRCRLF : '\r\r\n' ;
>fragment CRLF : '\r\n' ;
>fragment LF : '\n' ;
I don't have a direct answer to your question, but you could try
rewriting that rule like this and see if it helps:
EOL : ('\r' '\r'?)? '\n' ;
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-address
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"il-antlr-interest" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/il-antlr-interest?hl=en
-~----------~----~----~----~------~----~------~--~---