Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Rejected: Re: [cdt-patch] [FIXED][78165][Parser] Problems handling Elaborated type specifiers


We need to catch backtracks closer to where they occur, if we can.  

JohnC
www.eclipse.org/cdt


cdt-patch-admin@xxxxxxxxxxx wrote on 11/19/2004 11:37:57 AM:

>
> [FIXED][78165][Parser] Problems handling Elaborated type specifiers
>
> Take some time to think about this one before applying it.  It looks
> like BacktrackExceptions were used to detect elaborated type
> specifiers for enumerations.  This rendered all of the previously
> used BacktrackExceptions in Parser.enumSpecifier() to be somewhat
> useless as they were all implied to be used when an elaborated type
> specifier was found.
>
> Note:  This patch only works for enum and it looks like similar
> logic was applied to class, struct, and union.  I would like to do
> something similar for the way class, struct, and union are handled
> in Parser.declSpecifierSeq() but it's more complex and not required
> for this bug fix.
>
> Devin Steffler
> IBM's Eclipse CDT
> Ottawa (Palladium), Ontario, Canada
> [attachment "cdt_core_tests_patch.txt" deleted by John
> Camelon/Ottawa/IBM] [attachment "cdt_core_patch.txt" deleted by John
> Camelon/Ottawa/IBM]

Back to the top