Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-patch] [cdt-patch[ Re: [cdt-core-dev] Patch for Bug 71669

I've applied a slightly different fix for this, we actually had 2 
constants: Keywords.cpEQUAL (correctly defined as "==") and 
Keywords.cpEQUALS (with the incorrect "=").
I kept the cpEQUAL to be consistant with IToken.tEQUAL, and changed the 
references to cpEQUALS to be cpEQUAL.

This is in the head, and will be propagated to 2.0.1 with the rest of the 
parser changes (coming within the next day or two).

-Andrew




"John Madsen" <john@xxxxxxxxxx> 
Sent by: cdt-core-dev-admin@xxxxxxxxxxx
08/09/2004 02:15 PM
Please respond to
cdt-core-dev


To
cdt-core-dev@xxxxxxxxxxx
cc

Subject
[cdt-core-dev] Patch for Bug 71669






The attached diff contains a patch for the following:

org.eclipse.cdt.core.parser.Keywords.cpEQUALS is set to "=" rather than
"==". 
Among other things, this causes a parse error when a class provides both 
operator= and operator==.

The fix was pretty obvious :).
[attachment "71669.diff" deleted by Andrew Niefer/Ottawa/IBM] 



Back to the top