Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Kucera2009-04-17 18:52:09 +0000
committerMike Kucera2009-04-17 18:52:09 +0000
commitcb8fe367dd2c4ffeda055c5d5ba1ad16f2640903 (patch)
tree46b97d413bfc5e849988c92d7489fe2790755392 /xlc/org.eclipse.cdt.core.lrparser.xlc/grammar/build.xml
parente8477ef98a4319989eea988aa1184d9e47f0b7ac (diff)
downloadorg.eclipse.cdt-cb8fe367dd2c4ffeda055c5d5ba1ad16f2640903.tar.gz
org.eclipse.cdt-cb8fe367dd2c4ffeda055c5d5ba1ad16f2640903.tar.xz
org.eclipse.cdt-cb8fe367dd2c4ffeda055c5d5ba1ad16f2640903.zip
[272745] initial commit of XLC parser extensions
Diffstat (limited to 'xlc/org.eclipse.cdt.core.lrparser.xlc/grammar/build.xml')
-rw-r--r--xlc/org.eclipse.cdt.core.lrparser.xlc/grammar/build.xml49
1 files changed, 49 insertions, 0 deletions
diff --git a/xlc/org.eclipse.cdt.core.lrparser.xlc/grammar/build.xml b/xlc/org.eclipse.cdt.core.lrparser.xlc/grammar/build.xml
new file mode 100644
index 00000000000..99a4603a956
--- /dev/null
+++ b/xlc/org.eclipse.cdt.core.lrparser.xlc/grammar/build.xml
@@ -0,0 +1,49 @@
+<!--
+ Copyright (c) 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
+-->
+
+<project name="XLC Parsers" default="c" basedir=".">
+
+ <import file="../../org.eclipse.cdt.core.lrparser/grammar/generate.xml"/>
+
+ <property name="c_location" value="../parser/org/eclipse/cdt/internal/core/lrparser/xlc/c"/>
+ <property name="cpp_location" value="../parser/org/eclipse/cdt/internal/core/lrparser/xlc/cpp"/>
+
+
+ <target name="c">
+ <antcall target="generate_c">
+ <param name="grammar_name" value="XlcCParser"/>
+ </antcall>
+ </target>
+
+ <target name="cpp">
+ <antcall target="generate_cpp">
+ <param name="grammar_name" value="XlcCPPParser"/>
+ </antcall>
+ </target>
+
+
+ <target name="generate_c">
+ <antcall target="generate">
+ <param name="grammar_dir" value="xlc"/>
+ <param name="output_dir" value="${c_location}"/>
+ <param name="grammar_name" value="${grammar_name}"/>
+ </antcall>
+ </target>
+
+ <target name="generate_cpp">
+ <antcall target="generate">
+ <param name="grammar_dir" value="xlc"/>
+ <param name="output_dir" value="${cpp_location}"/>
+ <param name="grammar_name" value="${grammar_name}"/>
+ </antcall>
+ </target>
+
+</project> \ No newline at end of file

Back to the top