Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-02-21 19:31:29 -0800 (Mon, 21 Feb 2005)
Revision: 6741
Log message:
Different quotations should not be required to use the
same lexer. This commit adds the ability to define multiple
lexers (the grammars can still be shared).
Now, instead of
lex_token "[0-9]+" --> number[lexeme:n]
you have to specify the lexer
declare mmc : Lexer
...
lex_token mmc : "[0-9]+" --> number[lexeme:n]
CAUTION: this commit breaks binary compatibility. I'm sorry about
this hassle--the change doesn't really affect those of you who
don't use the input grammars. In any case, you should export any
unsaved work before updating from cvs.