diff options
author | Richard Henderson <rth@redhat.com> | 2003-01-17 03:36:24 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2003-01-17 03:36:24 -0800 |
commit | 084087e1f5dc520bafc53c9732f79ed4dafbcb6d (patch) | |
tree | 1c4ff52fb2b12c796591fd8391b522138cc055e9 | |
parent | 4a13592ed5146a4986b220c0f1059bb0bebec42e (diff) | |
download | gcc-084087e1f5dc520bafc53c9732f79ed4dafbcb6d.zip gcc-084087e1f5dc520bafc53c9732f79ed4dafbcb6d.tar.gz gcc-084087e1f5dc520bafc53c9732f79ed4dafbcb6d.tar.bz2 |
* gengtype.c (walk_type): Allow paramN_is.
From-SVN: r61441
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/gengtype.c | 6 |
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) |