[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[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 :).
Index: parser/org/eclipse/cdt/core/parser/Keywords.java
===================================================================
RCS file: /home/tools/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/parser/Keywords.java,v
retrieving revision 1.4
diff -u -r1.4 Keywords.java
--- parser/org/eclipse/cdt/core/parser/Keywords.java 27 Jul 2004 17:35:01 -0000 1.4
+++ parser/org/eclipse/cdt/core/parser/Keywords.java 9 Aug 2004 18:09:58 -0000
@@ -225,5 +225,5 @@
public static final char[] cpDIV = "/".toCharArray(); //$NON-NLS-1$
public static final char[] cpPOUND = "#".toCharArray(); //$NON-NLS-1$
public static final char[] cpPOUNDPOUND = "##".toCharArray(); //$NON-NLS-1$
- public static final char[] cpEQUALS = "=".toCharArray(); //$NON-NLS-1$
+ public static final char[] cpEQUALS = "==".toCharArray(); //$NON-NLS-1$
}