Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVivian Kong2011-02-03 10:07:57 -0500
committerVivian Kong2011-02-03 10:07:57 -0500
commitbaba3cb3634e222f699d9c72c695e41323e83490 (patch)
tree71ae3bcf0131c5adef1181d69f681b220a243588
parent546fa4a7d0e1600b45495e079ea11584debdc404 (diff)
downloadorg.eclipse.cdt-baba3cb3634e222f699d9c72c695e41323e83490.tar.gz
org.eclipse.cdt-baba3cb3634e222f699d9c72c695e41323e83490.tar.xz
org.eclipse.cdt-baba3cb3634e222f699d9c72c695e41323e83490.zip
Bug 328867 for John Liu
-rw-r--r--lrparser/org.eclipse.cdt.core.lrparser/src/org/eclipse/cdt/core/dom/lrparser/gnu/DOMToGPPTokenMap.java3
1 files changed, 2 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..999c19d43f 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,7 @@ 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