Well, this list is called freecc-devel but it's the only list, so it
must be the right one. :-) At some point in the future, when there
really is a lot more discussion, I'll probably create a freecc-user
list for strictly use-related discussion, but right now volume is so
low that this is effectively a combined development/usage related
list.
So, not only is it perfectly okay to ask for help here, but in effect,
you can take advantage of the early bird special. I'm so eager to get
feedback on this work, and there are currently so few users that I
will be extra helpful.
>
> I'm working on this grammar for an open-source project, so I can
> post full source if that would be helpful.
Yes, please do that.
> The error message I get
> looks like:
> Outputting file: SVParserTokenManager.java
> Exception in thread "main" org.visigoths.freecc.parser.TokenMgrError:
> Lexical error at line 160, column 145. Encountered: "\n" (10),
> after : "\";);"
Hmm, it is hard to see much connection between the error message and
the snippet you included. It may be that the error message generated
is spurious and the problem is elsewhere. Have you tried commenting
out different sections to see if you can narrow down that way where
the real problem is? If you send me your grammar, I'll have a closer
look.
Also, please rebuild FreeCC from the latest code snapshot and try
again. You'll likely hit the same error, but at least any stack traces
will be relative to the current state of the code.
It is very easy to do this. It should be sufficient to simply type:
svn update
ant
on the command line from the root freecc directory to be running the
latest version. (Admittedly that is assuming that you have both svn
and ant installed on your machine, but I'm guessing your probably
do...)
Regards,
JR