[antlr-interest] Reporting a bug in C Target

Gokulakannan Somasundaram gokul007 at gmail.com
Wed Dec 9 19:54:51 PST 2009


> >
> > Assigning it to 0, will again cause trouble for C++ folks.
>
> No it won't, because 0 is a valid (indeed, the preferred) way of writing
> a null pointer constant in C++.
>
> I think you misunderstood me. I said assigning 0 to a enum in C++ will
throw a compiler error.

Gokul.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20091210/361bde38/attachment.html 


More information about the antlr-interest mailing list