* gengtype.c (walk_type): Allow paramN_is.
authorRichard Henderson <rth@redhat.com>
Fri, 17 Jan 2003 11:36:24 +0000 (03:36 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Fri, 17 Jan 2003 11:36:24 +0000 (03:36 -0800)
From-SVN: r61441

gcc/ChangeLog
gcc/gengtype.c

index 0db5116822c9bdb21bb4d49589f9d80fd2488e68..9870f482e130d2e4ff27243b56e6d58a9761f54b 100644 (file)
@@ -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.
index b279263b548850ae953e267399db855ec570475f..2165755ed152cf42ef8bbf1d62064a2b851ec700 100644 (file)
@@ -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)