diff options
author | Tim Josling <tej@melbpc.org.au> | 2002-08-13 08:20:12 +0000 |
---|---|---|
committer | Tim Josling <timjosling@gcc.gnu.org> | 2002-08-13 08:20:12 +0000 |
commit | a3b5decfef52a8299111fbb8a2c9bd57abfc810f (patch) | |
tree | 74d7bb6085b5af93b11fa428acf56a57ada18726 /gcc/treelang/parse.y | |
parent | 2d7db877a53b7b5f4eef8e2547bc213655ed096f (diff) | |
download | gcc-a3b5decfef52a8299111fbb8a2c9bd57abfc810f.zip gcc-a3b5decfef52a8299111fbb8a2c9bd57abfc810f.tar.gz gcc-a3b5decfef52a8299111fbb8a2c9bd57abfc810f.tar.bz2 |
Fixes for treelang, mainly provide fake definition of rtx for parse.y includes.
From-SVN: r56248
Diffstat (limited to 'gcc/treelang/parse.y')
-rw-r--r-- | gcc/treelang/parse.y | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gcc/treelang/parse.y b/gcc/treelang/parse.y index 0588e21..7d7400f 100644 --- a/gcc/treelang/parse.y +++ b/gcc/treelang/parse.y @@ -42,9 +42,12 @@ */ +/* Undefine IN_GCC so malloc etc work. The alternative is to redefine + the out of stack routine in bison. */ #undef IN_GCC - +/* Front ends should not have to see these, but config.h needs everything. */ typedef void *tree; +typedef void *rtx; #include <stdio.h> #include <stdlib.h> @@ -804,7 +807,7 @@ init_opt: } |init { /* Nothing to do. */ -} +}; init: ASSIGN init_element { |