On 09-08-18 03:22 PM, David-Sarah Hopwood wrote: > Alternatively, you might want to match bare '\r' as a newline (as used > in original MacOS). In that case change MC_QUESTION and MC_INCORRECT as > above, but use: > > fragment NOTNEWLINE : ~('\r' | '\n'); > fragment NEWLINE : '\r' '\n'? | '\n'; > I really appreciate all the help from the mailing list. The above appears to work quite well. Thank you.
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 il-antlr-interest@googlegroups.com To unsubscribe from this group, send email to il-antlr-interest+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en -~----------~----~----~----~------~----~------~--~---