[antlr-interest] Re: Lexer not putting colon back
Paul J. Lucas
dude at darkfigure.org
Fri Nov 15 11:28:01 PST 2002
--- In antlr-interest at y..., mzukowski at y... wrote:
> Could you post the generated code for that rule when k=2?
Here's the relevant bit from inside the try block:
mNCName(false);
{
if ((LA(1)==':')) {
match(':');
mNCName(false);
}
else {
}
}
if ( _createToken && _token==null && _ttype!=Token.SKIP ) {
_token = makeToken(_ttype);
_token.setText(new String(text.getBuffer(), _begin, text.length()-_begin));
}
_returnToken = _token;
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list