[antlr-interest] Problem with latest build

Werner Joerg (QAG PD PT TPE C) Joerg.Werner at qimonda.com
Fri Dec 28 02:06:56 PST 2007


Hi all,

Using the latest nightly build I get the following error when running org.antlr.Tool:

ANTLR Parser Generator  Version 3.1b1 (??)  1989-2007
src/com/qimonda/pd/pt/tpec/JasdapTools/evalGenCombinations/GetCombinationTreeWalker.g3
error(100): GetCombinationTreeWalker.g3:118:12: syntax error: antlr: GetCombinationTreeWalker.g3:118:12: unexpected token: )
error(100): GetCombinationTreeWalker.g3:119:2: syntax error: antlr: GetCombinationTreeWalker.g3:119:2: unexpected token: ;

The offending lines in my grammar seem to be:

key
        : ^( KEY .)
        ;

I assume the "." for matching any tree node is the problem. In version 3.0 similar constructs were working fine. Looks like a regression to me. Any comments?

Regards,

Jörg

--
Dr. Jörg Werner (韦尔讷)
Qimonda AG
Memory Products Division
QAG PD PT TPE C
Am Campeon 1-12
D-85579 Neubiberg
email: joerg.werner at qimonda.com
Tel:  +49 89 60088-2231
Fax:  +49 89 60088-442231

Chairman of the Supervisory Board/Aufsichtsratsvorsitzender: Peter J. Fischl
Management Board/Vorstand: Kin Wah Loh (Chairman/Vorsitzender), Dr. Michael Majerus, Thomas J. Seifert
Register Court/Registergericht: München HRB 152545, Seat/Sitz: München



More information about the antlr-interest mailing list