summaryrefslogtreecommitdiff
path: root/gcc/treelang/lang-options.h
diff options
context:
space:
mode:
authortimjosling <timjosling@138bc75d-0d04-0410-961f-82ee72b054a4>2002-05-05 04:24:18 +0000
committertimjosling <timjosling@138bc75d-0d04-0410-961f-82ee72b054a4>2002-05-05 04:24:18 +0000
commit093e265a685ad7f1ee80eef067107506ee6ba1ff (patch)
treef9f7f1ab980437234d5a7681a7427727d00adb41 /gcc/treelang/lang-options.h
parente674ed1be813e87aa63608a55b693b795bcc47b6 (diff)
downloadgcc-093e265a685ad7f1ee80eef067107506ee6ba1ff.tar.gz
Added new sample language treelang.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53169 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/treelang/lang-options.h')
-rw-r--r--gcc/treelang/lang-options.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/gcc/treelang/lang-options.h b/gcc/treelang/lang-options.h
new file mode 100644
index 00000000000..2d60c3ef35b
--- /dev/null
+++ b/gcc/treelang/lang-options.h
@@ -0,0 +1,29 @@
+/* Definitions for switches for TREELANG.
+
+ Copyright (C) 1995, 96-98, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
+
+This file is part of GCC.
+
+GCC is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GCC is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; see the file COPYING. If not, write to
+the Free Software Foundation, 59 Temple Place - Suite 330,
+Boston, MA 02111-1307, USA. */
+
+DEFINE_LANG_NAME ("treelang")
+
+/* This is the contribution to the `lang_options' array in gcc.c for
+ treelang. */
+ {"-fparser-trace", N_("(debug) trace parsing process")},
+ {"-flexer-trace", N_("(debug) trace lexical analysis")},
+
+