aboutsummaryrefslogtreecommitdiff
path: root/gcc/treelang
diff options
context:
space:
mode:
authorTim Josling <timjosling@gcc.gnu.org>2002-06-19 20:30:23 +0000
committerTim Josling <timjosling@gcc.gnu.org>2002-06-19 20:30:23 +0000
commit015089dd480af952c22cbc9928d776d3ba7ca248 (patch)
treeebb522feadad4e1d54008107a778137493964630 /gcc/treelang
parenta616effa589567238ba8e380f2a7ec143689648a (diff)
downloadgcc-015089dd480af952c22cbc9928d776d3ba7ca248.zip
gcc-015089dd480af952c22cbc9928d776d3ba7ca248.tar.gz
gcc-015089dd480af952c22cbc9928d776d3ba7ca248.tar.bz2
Clean up configure.in checks for bad languages; fix typos in treelang.
From-SVN: r54800
Diffstat (limited to 'gcc/treelang')
-rw-r--r--gcc/treelang/ChangeLog7
-rw-r--r--gcc/treelang/README5
-rw-r--r--gcc/treelang/lex.l2
3 files changed, 11 insertions, 3 deletions
diff --git a/gcc/treelang/ChangeLog b/gcc/treelang/ChangeLog
index bf9b6cc..4db3f72 100644
--- a/gcc/treelang/ChangeLog
+++ b/gcc/treelang/ChangeLog
@@ -1,3 +1,8 @@
+2002-06-19 Paolo Bonzini <bonzini@gnu.org>
+
+ * lex.l (yyparse) Return AUTOMATIC for 'automatic' token rather
+ than STATIC.
+
2002-06-10 Tim Josling <tej@melbpc.org.au>
Cleanup
@@ -25,7 +30,7 @@
* tree1.c (main): Remove include of "output.h".
(symbol_table): Add GTY details.
(symbol_table_ggc): Remove.
- (treelang_init): Remove root definitions for garage collection.
+ (treelang_init): Remove root definitions for garbage collection.
(mark_production_used): Remove.
(mark_token_used): Remove.
(main, at end): include generated garage collection routines.
diff --git a/gcc/treelang/README b/gcc/treelang/README
index f16eafc..87dce1a 100644
--- a/gcc/treelang/README
+++ b/gcc/treelang/README
@@ -11,6 +11,9 @@ the GCC back end 'tree' interface in syntax.
Thanks to Richard Kenner, Joachim Nadler and many others for helping
me to understand enough of GCC to do this.
+Please note, the documentation is not a good model to use for GCC
+front end documentation.
+
Tim Josling
-May 2001
+19 June 2002
diff --git a/gcc/treelang/lex.l b/gcc/treelang/lex.l
index 0d7af64..b1881dc 100644
--- a/gcc/treelang/lex.l
+++ b/gcc/treelang/lex.l
@@ -166,7 +166,7 @@ static void dump_lex_value (int lexret);
"automatic" {
update_lineno_charno ();
- SAVE_RETURN (STATIC);
+ SAVE_RETURN (AUTOMATIC);
}
"int" {