to help.
I noticed that the exception does not occur (and scanning the file goes
considerably faster) when in lexer.NextToken() I comment out
int m = input.Mark();
and
input.Rewind(m);
but I am not sure what undesired effect this may have.
Regards, John Pool
List: http://w
to help.
I noticed that the exception does not occur (and scanning the file goes
considerably faster) when in lexer.NextToken() I comment out
int m = input.Mark();
and
input.Rewind(m);
but I am not sure what undesired effect this may have.
Regards, John Pool
List: http://w
n the book, but that URL won't open.
Regards, John Pool
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-
I strongly advise you to purchase 'The Definitive ANTLR Reference'. C#
example below.
Cheers -- John Pool
MyLexer lexer = new MyLexer (new ANTLRStringStream ("my code to parse"));
// ... or ANTLRFileStream ("my file to parse")
CommonTokenStream cts
that without seeing the actual grammar
and code it might be hard to figure out what is going on, but I am just
wondering if there is some general approach that I can take before
submitting code.
Kind regards,
John Pool
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe