I'm working on an editor for the Open Office IDL in NetBeans, using antlr for the syntax coloring, error highlighting ... Things are working well except for the "lexing while typing" part.
Looking at the results of getState() I see a RecognizerSharedState object when tokens are complete but null during a token such as a /* style comment or a "quoted string" causing a "state can't be null" exception. Even weirder all the times the lexer returns a state NB doesn't complain if I pass back a null. I've been searching and reading to no avail. Anybody have a suggestion how to save and restore the lexer state for these partial token? Thanks, Joe 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 -~----------~----~----~----~------~----~------~--~---
