aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2003-01-17 03:36:24 -0800
committerRichard Henderson <rth@gcc.gnu.org>2003-01-17 03:36:24 -0800
commit084087e1f5dc520bafc53c9732f79ed4dafbcb6d (patch)
tree1c4ff52fb2b12c796591fd8391b522138cc055e9
parent4a13592ed5146a4986b220c0f1059bb0bebec42e (diff)
downloadgcc-084087e1f5dc520bafc53c9732f79ed4dafbcb6d.zip
gcc-084087e1f5dc520bafc53c9732f79ed4dafbcb6d.tar.gz
gcc-084087e1f5dc520bafc53c9732f79ed4dafbcb6d.tar.bz2
* gengtype.c (walk_type): Allow paramN_is.
From-SVN: r61441
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/gengtype.c6
2 files changed, 9 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0db5116..9870f48 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2003-01-17 Richard Henderson <rth@redhat.com>
+
+ * gengtype.c (walk_type): Allow paramN_is.
+
2003-01-17 Nick Clifton <nickc@redhat.com>
* config/i960/t-960bare (i960-c.o): Add missing newline escape.
diff --git a/gcc/gengtype.c b/gcc/gengtype.c
index b279263..2165755 100644
--- a/gcc/gengtype.c
+++ b/gcc/gengtype.c
@@ -1,5 +1,5 @@
/* Process source files and output type information.
- Copyright (C) 2002 Free Software Foundation, Inc.
+ Copyright (C) 2002, 2003 Free Software Foundation, Inc.
This file is part of GCC.
@@ -1560,6 +1560,10 @@ walk_type (t, d)
;
else if (strcmp (oo->name, "param_is") == 0)
;
+ else if (strncmp (oo->name, "param", 5) == 0
+ && ISDIGIT (oo->name[5])
+ && strcmp (oo->name + 6, "_is") == 0)
+ ;
else if (strcmp (oo->name, "chain_next") == 0)
;
else if (strcmp (oo->name, "chain_prev") == 0)