summaryrefslogtreecommitdiff
path: root/gcc/treelang
diff options
context:
space:
mode:
authoraj <aj@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-08 14:22:24 +0000
committeraj <aj@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-08 14:22:24 +0000
commit237077cfbab26219a4f188cc446b21091374add6 (patch)
tree215a0f034860e58182466e0231153641b9062258 /gcc/treelang
parentd598ad0d48dd8005e04d75abb1b2ae94026927a8 (diff)
downloadgcc-237077cfbab26219a4f188cc446b21091374add6.tar.gz
* Make-lang.in: Update.
* treetree.c: Include opts.h. Define cl_options_count and cl_options. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67627 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/treelang')
-rw-r--r--gcc/treelang/ChangeLog5
-rw-r--r--gcc/treelang/Make-lang.in2
-rw-r--r--gcc/treelang/treetree.c3
3 files changed, 9 insertions, 1 deletions
diff --git a/gcc/treelang/ChangeLog b/gcc/treelang/ChangeLog
index edf9a6fef3f..668b6d29d79 100644
--- a/gcc/treelang/ChangeLog
+++ b/gcc/treelang/ChangeLog
@@ -1,3 +1,8 @@
+2003-06-08 Andreas Jaeger <aj@suse.de>
+
+ * Make-lang.in: Update.
+ * treetree.c: Include opts.h. Define cl_options_count and cl_options.
+
2003-06-08 Tim Josling <tej@melbpc.org.au>
* treetree.c (c_lex): Add fake routine to satisfy RS6000 backend.
diff --git a/gcc/treelang/Make-lang.in b/gcc/treelang/Make-lang.in
index 604f981c62e..ca3bd3098e6 100644
--- a/gcc/treelang/Make-lang.in
+++ b/gcc/treelang/Make-lang.in
@@ -59,7 +59,7 @@ GCC_EXTRAS = -B./ -B$(build_tooldir)/bin/ -isystem $(build_tooldir)/include
TREE_GENERATED = $(srcdir)/treelang/lex.c $(srcdir)/treelang/parse.c\
$(srcdir)/treelang/parse.h $(srcdir)/treelang/parse.output $(srcdir)/treelang/TAGS
-TREE_SOURCE = ${srcdir}/treelang/parse.y ${srcdir}/treelang/lex.l ${srcdir}/treelang/tree1.c ${srcdir}/treelang/treelang.h ${srcdir}/treelang/treetree.c $(srcdir)/treelang/treetree.h
+TREE_SOURCE = ${srcdir}/treelang/parse.y ${srcdir}/treelang/lex.l ${srcdir}/treelang/tree1.c ${srcdir}/treelang/treelang.h ${srcdir}/treelang/treetree.c $(srcdir)/treelang/treetree.h ${srcdir}/treelang/opts.h
TREE_EXES = tree1$(exeext)
diff --git a/gcc/treelang/treetree.c b/gcc/treelang/treetree.c
index 56b45551f56..ca50df4f820 100644
--- a/gcc/treelang/treetree.c
+++ b/gcc/treelang/treetree.c
@@ -73,7 +73,10 @@
#include "treelang.h"
#include "treetree.h"
+#include "opts.h"
+const unsigned int cl_options_count;
+const struct cl_option cl_options[1];
extern int option_main;
extern char **file_names;