[antlr-interest] NullPointerExption error in verilog.g

Ric Klaren klaren at cs.utwente.nl
Wed Mar 13 02:51:52 PST 2002


Hi,

Could you try the 2.7.2 prerelease?

Ric

On Wed, Mar 13, 2002 at 10:45:38AM -0000, kts81932 wrote:
> 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/ 
> 
> 

-- 
-----+++++*****************************************************+++++++++-------
    ---- Ric Klaren ----- klaren at cs.utwente.nl ----- +31 53 4893722  ----
-----+++++*****************************************************+++++++++-------
     Human beings, who are almost unique in having the ability to learn
   from the experience of others, are also remarkable for their apparent
         disinclination to do so. --- Douglas Adams, Last Chance to See


 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



More information about the antlr-interest mailing list