[antlr-interest] C++ compliance of antlr generated code

sohail at taggedtype.net sohail at taggedtype.net
Fri Dec 29 08:34:37 PST 2006


Quoting Maurizio de Pascale <mdepascale at dii.unisi.it>:

> the C++ code generated by ANTLR (latest 2.7.X) uses lots of variables
> starting with '_', which is however forbidden by the standard since
> symbols starting with an underscore are reserved to the implementation.
> I suggest taking care of this for the ANTLR 3 C++ target.

 From what I recall, symbols starting with _ are reserved in the  
global namespace.


More information about the antlr-interest mailing list