diff options
Diffstat (limited to 'lrparser/org.eclipse.cdt.core.lrparser/grammar/gpp/GPPParser.g')
-rw-r--r-- | lrparser/org.eclipse.cdt.core.lrparser/grammar/gpp/GPPParser.g | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/lrparser/org.eclipse.cdt.core.lrparser/grammar/gpp/GPPParser.g b/lrparser/org.eclipse.cdt.core.lrparser/grammar/gpp/GPPParser.g new file mode 100644 index 00000000000..4ee7b043a00 --- /dev/null +++ b/lrparser/org.eclipse.cdt.core.lrparser/grammar/gpp/GPPParser.g @@ -0,0 +1,26 @@ +---------------------------------------------------------------------------------- +-- Copyright (c) 2008, 2009 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 +-- http://www.eclipse.org/legal/epl_v10.html +-- +-- Contributors: +-- IBM Corporation - initial API and implementation +---------------------------------------------------------------------------------- + +%options la=2 +%options package=org.eclipse.cdt.internal.core.dom.lrparser.gpp +%options template=LRParserTemplate.g + + +-- This file is needed because LPG won't allow redefinition of the +-- start symbol, so CPPGrammar.g cannot define a start symbol. + +$Import + GPPGrammar.g +$End + +$Start + translation_unit +$End
\ No newline at end of file |