Do not report an error, if the second argument to __builtin_va_start() has error...
authorChristoph Mallon <christoph.mallon@gmx.de>
Thu, 17 May 2012 17:52:56 +0000 (19:52 +0200)
committerChristoph Mallon <christoph.mallon@gmx.de>
Sat, 19 May 2012 08:10:36 +0000 (10:10 +0200)
parser.c

index 3a80454..c2f1805 100644 (file)
--- a/parser.c
+++ b/parser.c
@@ -6426,6 +6426,9 @@ static bool is_last_parameter(expression_t *const param)
                }
        }
 
+       if (!is_type_valid(skip_typeref(param->base.type)))
+               return true;
+
        return false;
 }