[antlr-interest] Jim Idle: C-Runtime, position of elements

Udo Weik WeikEngOff at aol.com
Sun Oct 23 11:28:09 PDT 2011


Hello Jim,

my string looks like:
012345
   abcd
pos (lexer) is 1

012345
  abcd
pos (lexer) is 0

012345
abcd
pos (lexer) is -1

Is that as it should be?

And is there any way to get line/pos in the parser?
I need this from all elements.


Many thanks and greetings
Udo


More information about the antlr-interest mailing list