Hej List,

i have a question to ANTLRs grammar file name.
(i use antlr 3.1b2 with antlrwork1.2b5)

Within my generated source code, the complete source path is generated as 
shown below.

a) as comments spread over the file
>//$ANTLR3.1b2 
>/home/bischomc/studienarbeit/workspace/BPELscript/src/iaas/bpelscript/antlr/BPELscriptWalker.g
> 
2008-11-04 14:48:57
b) as hard coded grammarFileName
>  public String getGrammarFileName() { 
return 
"/home/bischomc/studienarbeit/workspace/BPELscript/src/iaas/bpelscript/antlr/BPELscriptWalker.g";
 }

Now i want to share the code and i'am trying to avoid this absolute 
representation.

Is it possible to set this name (and the comment-name) by a grammar or 
antlrworks option?
Or have this be done manually?

I found nothing about this when searching in the reference or other papers. 
(the homepage is currently down)

Cheers,
        Marc

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


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to