[antlr-interest] setting the line number
Monty Zukowski
monty at codetransform.com
Wed Sep 22 09:29:52 PDT 2004
Take a look at my GCC grammar (link below) to see how to handle #line
directives.
Monty
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
On Sep 20, 2004, at 7:46 AM, Peter Sprenger wrote:
> Hi, I want to process "#line" statement in a Mini-C parser, but had
> not much success to set a new line number that is increased with
> newline(); and is reported to Error exceptions.
>
> Pete
>
> -
>
> ------------------
>
> Peter Sprenger
> Moving Bytes Communications, Systementwicklung GmbH
> Eisenstr.1
> D-50825 Koeln
> Germany
>
> Tel.: +49/221/4923555
> Fax.: +49/221/4923556
> Email: sprenger at moving-bytes.de
> http://www.moving-bytes.de
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/antlr-interest/
<*> To unsubscribe from this group, send an email to:
antlr-interest-unsubscribe at yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list