[antlr-interest] Warning. Signature has changed.

Joan Pujol joanpujol at gmail.com
Tue Aug 31 09:36:35 PDT 2004


I have a tree parser that extends another:

P2 extends P1

In P2 I have:
decvariable: #(DECVARIABLE IDENTIFICADOR IDENTIFICADOR (expressio)?);

and in P1:
decvariable returns [boolean error=false]: #(DECVARIABLE
nom:IDENTIFICADOR nomtipus:IDENTIFICADOR (expressio)?)

(I have added a return value)

ANTLR gives me this warning:
      warning: rule P2.decvariable has different signature than
AnalitzadorBaseAST.decvariable

Can I ignore this warning or this warning have some consequences I need to know?

-- 
Joan Jesús Pujol Espinar


 
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