aboutsummaryrefslogtreecommitdiff
path: root/gcc/treelang
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.co.uk>2003-07-01 21:25:52 +0000
committerNeil Booth <neil@gcc.gnu.org>2003-07-01 21:25:52 +0000
commit2a2ecc33a8538c043fd424034f467d667cf237f3 (patch)
tree7c0b5c7d9f450a2b64b4f12e80aefc00fffd4224 /gcc/treelang
parentb7693a467986f9c5ddc92c2c09322d2f0d97a6cd (diff)
downloadgcc-2a2ecc33a8538c043fd424034f467d667cf237f3.zip
gcc-2a2ecc33a8538c043fd424034f467d667cf237f3.tar.gz
gcc-2a2ecc33a8538c043fd424034f467d667cf237f3.tar.bz2
Make-lang.in: Update.
treelang: * Make-lang.in: Update. * tree1.c: Include c-common.h. Define c_language. From-SVN: r68796
Diffstat (limited to 'gcc/treelang')
-rw-r--r--gcc/treelang/ChangeLog5
-rw-r--r--gcc/treelang/Make-lang.in2
-rw-r--r--gcc/treelang/tree1.c3
3 files changed, 9 insertions, 1 deletions
diff --git a/gcc/treelang/ChangeLog b/gcc/treelang/ChangeLog
index cd82188..f7623db 100644
--- a/gcc/treelang/ChangeLog
+++ b/gcc/treelang/ChangeLog
@@ -1,3 +1,8 @@
+2003-07-01 Neil Booth <neil@daikokuya.co.uk>
+
+ * Make-lang.in: Update.
+ * tree1.c: Include c-common.h. Define c_language.
+
2003-06-20 Nathan Sidwell <nathan@codesourcery.com>
* treetree.c (tree_code_create_function_wrapup): Adjust
diff --git a/gcc/treelang/Make-lang.in b/gcc/treelang/Make-lang.in
index 52106a4..c3d27a3 100644
--- a/gcc/treelang/Make-lang.in
+++ b/gcc/treelang/Make-lang.in
@@ -98,7 +98,7 @@ tree1$(exeext): treelang/tree1.o treelang/treetree.o treelang/lex.o treelang/par
treelang/tree1.o: treelang/tree1.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
flags.h toplev.h $(GGC_H) $(TREE_H) diagnostic.h treelang/treelang.h \
- input.h treelang/treetree.h options.h opts.h \
+ input.h treelang/treetree.h options.h opts.h c-common.h \
treelang/treetree.h gt-treelang-tree1.h gtype-treelang.h
treelang/treetree.o: treelang/treetree.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
diff --git a/gcc/treelang/tree1.c b/gcc/treelang/tree1.c
index 4c1a846..3e85fac 100644
--- a/gcc/treelang/tree1.c
+++ b/gcc/treelang/tree1.c
@@ -46,6 +46,9 @@
#include "treetree.h"
#include "opts.h"
#include "options.h"
+#include "c-common.h"
+
+enum c_language_kind c_language = clk_c;
extern int yyparse (void);