Please ignore my mail,..., in spite of the WARNINGs from ANTLR, i was able
to compile the Java files using antlr-3.1.1.jar. However i had to change the
all occurrences of CppTreeTreeParser with CppTree for successful
compilation.

Thanks

On Sat, Feb 28, 2009 at 9:43 PM, SSG JJV <[email protected]> wrote:

> Hi,
> I downloaded C Preprocessor posted by *Youngki KU* on antlr. But could not
> get it to work.
> On trying to generate the java file for Cpp.g, i ended up with lot of
> warnings and generated Java file failed compilation.
>
> warning(105): Cpp.g:290:5: no lexer rule corresponding to token: TEXT_END
> warning(105): Cpp.g:78:5: no lexer rule corresponding to token: DEFINE
> warning(105): Cpp.g:99:5: no lexer rule corresponding to token: IF
> warning(105): Cpp.g:91:5: no lexer rule corresponding to token: EXEC_MACRO
> warning(105): Cpp.g:74:5: no lexer rule corresponding to token:
> INCLUDE_EXPAND
> warning(105): Cpp.g:81:6: no lexer rule corresponding to token: DEFINE
> warning(105): Cpp.g:110:5: no lexer rule corresponding to token: ERROR
> warning(105): Cpp.g:79:5: no lexer rule corresponding to token: DEFINE
> warning(105): Cpp.g:100:5: no lexer rule corresponding to token: ELIF
> warning(105): Cpp.g:95:5: no lexer rule corresponding to token: UNDEF
> warning(105): Cpp.g:100:81: no lexer rule corresponding to token: ENDIF
>
> I am using antlr works jar in class path.
> ANTLR Parser Generator  Version 3.0 (May 17, 2007)  1989-2007
>
> Am is missing something?
>
> Also the files mentioned in makefile( macro.g, MacroTree.g ) are missing in
> the tar.
>
> Is this the correct tar i am using?
>
> Please help.
>
> --------
> Thanks
>
>

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