[antlr-interest] Re: C++ Grammar for .Net VC++ 7.1
jimmyatwork1
jimmyatwork1 at yahoo.com
Thu Dec 2 07:23:24 PST 2004
I get a run-time error:
"Run-Time Check Failure #3 - The variable 's' is being used without
being defined." in the last line of CPPParser::scope_override() when
the function returns 's'.
's' is defined as a char * at the beginning of the file.
hmm...
jim
--- In antlr-interest at yahoogroups.com, Ric Klaren <ric.klaren at g...> wrote:
> On Thu, 02 Dec 2004 14:19:09 -0000, jimmyatwork1 <jimmyatwork1 at y...>
wrote:
> > VC6 is over 6 years old. It predates the C++ standard. 7.0, and 7.1
> > even more, conform well to the ANSI/ISO standard. The example code
> > distributed with David Wigg's 3.0 C++ grammar works with VC6, as
> > expected, but fails in 7.1. I don't have results for a 7.0 build.
>
> Fails as in doesn't compile? Or fails in the sense of strange
> behaviour? A little while back I only had to do minor tweaking to get
> it to run on gcc 3.4, which means it shouldn't be all that bad with
> vc7.1. (although that was with the old version but even that should
> not make that big a difference)
>
> Cheers,
>
> Ric
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