[antlr-interest] MSVC 6.0 Compiler accuracy?

Sohail Somani sohail at taggedtype.net
Mon May 22 09:09:55 PDT 2006


On Mon, 2006-05-22 at 14:29 +0100, Wigg, J D wrote:
> I have been parsing various C++ programs for some years now and never
> come across the declaration of variables in conditions. I suppose this
> is not surprising. I can't think why one would want to do it. It seems
> illogical to allow this in iteration statements since the condition
> would appear to redeclare the variable on each iteration!

normal usage:

if((T * p = dynamic_cast<T *>(Tparent))==NULL)



More information about the antlr-interest mailing list