Loading ...
Sorry, an error occurred while loading the content.

Re: [antlr-interest] Re: Get the line number in my deprecated messages

Expand Messages
  • Monty Zukowski
    There is some sort of getLine() in the CommonToken class as well. Monty ... Monty Zukowski ANTLR & Java Consultant -- http://www.codetransform.com ANSI C/GCC
    Message 1 of 5 , Jun 2, 2004
    • 0 Attachment
      There is some sort of getLine() in the CommonToken class as well.

      Monty

      On Jun 2, 2004, at 5:40 AM, pwolleba wrote:

      > Thanks for your response Monty, it got me one step further!! :o)
      >
      > As far I can see the getLine method is inside the CharScanner class,
      > I can however not see any solution for reaching this class from my
      > parser class.
      Monty Zukowski

      ANTLR & Java Consultant -- http://www.codetransform.com
      ANSI C/GCC transformation toolkit --
      http://www.codetransform.com/gcc.html
      Embrace the Decay -- http://www.codetransform.com/EmbraceDecay.html
    Your message has been successfully submitted and would be delivered to recipients shortly.