[antlr-interest] NullPointerExption error in verilog.g
kts81932
kts81932 at yahoo.co.kr
Wed Mar 13 02:45:38 PST 2002
HI..
recently, l learn about antlr-2.7.1.
to use antlr-2.7.1, dowonload verilog.g file
(http://www.antlr.org/resources.html)
successfully compile it..(in vc++)..
i add TreeWalker to verilog.g file
and compile it.. below error occur
#$%%*&@# internal error: java.lang.NullPointerException
fist time, i can not find where this error occur
finally i found that..
delay :
POUND NUMBER |
POUND identifier |
POUND LPAREN mintypmax_expression
( COMMA mintypmax_expression
( COMMA mintypmax_expression )?
)?
RPAREN
;
mintypmax_expression :
expression ( COLON expression COLON expression )?
;
to avoid error occurrence how can i change this grammer into
TreeWalker??
Thanks...
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list