Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVivian Kong2011-02-03 10:07:11 -0500
committerVivian Kong2011-02-03 10:07:11 -0500
commit3bb812c2c1318d82a4fd5ca6242d1a75be244210 (patch)
tree4a1523c640987fe401b06a40a9d54567f3006e9c /lrparser
parent4881bba10c7d5f78d704cd8615527b7356a4a664 (diff)
downloadorg.eclipse.cdt-3bb812c2c1318d82a4fd5ca6242d1a75be244210.tar.gz
org.eclipse.cdt-3bb812c2c1318d82a4fd5ca6242d1a75be244210.tar.xz
org.eclipse.cdt-3bb812c2c1318d82a4fd5ca6242d1a75be244210.zip
Bug 328867 for John Liu
Diffstat (limited to 'lrparser')
-rw-r--r--lrparser/org.eclipse.cdt.core.lrparser/src/org/eclipse/cdt/core/dom/lrparser/gnu/DOMToGPPTokenMap.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/lrparser/org.eclipse.cdt.core.lrparser/src/org/eclipse/cdt/core/dom/lrparser/gnu/DOMToGPPTokenMap.java b/lrparser/org.eclipse.cdt.core.lrparser/src/org/eclipse/cdt/core/dom/lrparser/gnu/DOMToGPPTokenMap.java
index ea11dd2c97..a4f091d7c9 100644
--- a/lrparser/org.eclipse.cdt.core.lrparser/src/org/eclipse/cdt/core/dom/lrparser/gnu/DOMToGPPTokenMap.java
+++ b/lrparser/org.eclipse.cdt.core.lrparser/src/org/eclipse/cdt/core/dom/lrparser/gnu/DOMToGPPTokenMap.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2006, 2009 IBM Corporation and others.
+ * Copyright (c) 2006, 2011 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -185,6 +185,8 @@ public class DOMToGPPTokenMap implements IDOMTokenMap {
case t__Imaginary : return TK__Imaginary;
case t_restrict : return TK_restrict;
+ case tPOUND : return TK_Invalid;
+
default:
assert false : "token not recognized by the GPP parser: " + token.getType(); //$NON-NLS-1$
return TK_Invalid;

Back to the top