[antlr-interest] treeParser problem

Koen Segers KoenSegers at scarlet.be
Thu Mar 17 15:28:04 PST 2005


Hi,

I have a problem with the treeParser.
In Parser I created an ast. In treeParser I walk this one.

I have this in my walker:
parameterType=typeSpecifier (par:ID)

If the ID isn't in the ast the error is:
<AST>: expecting ID, found '<empty tree>'

how can I give the line number + column number?

-- 

Koen Segers

<koensegers at scarlet.be>
<http://eddyvite.dyndns.org>


More information about the antlr-interest mailing list