From 3bb812c2c1318d82a4fd5ca6242d1a75be244210 Mon Sep 17 00:00:00 2001 From: Vivian Kong Date: Thu, 3 Feb 2011 15:07:11 +0000 Subject: [PATCH] Bug 328867 for John Liu --- .../eclipse/cdt/core/dom/lrparser/gnu/DOMToGPPTokenMap.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 ea11dd2c97e..a4f091d7c94 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;