Hi all,

 

Everytime when I run the program, I got this error. Here is the grammar of 
packageDeclaration


packageDeclaration
@init {
    tokens = (ASTokenRewriteStream)input; 
    Token start = input.LT(1);
}

    :   PACKAGE   type? '{' packageElement*  '}'                                
       -> ^(PACKAGE_DECL type? packageElement* )
    ;

 

 

Is there something wrong?

 

A

_________________________________________________________________
Live Search视频搜索,快速检索视频的利器!
http://www.live.com/?scope=video
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en
-~----------~----~----~----~------~----~------~--~---

List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

Reply via email to