Commit 6f25aae7 authored by Colin Walters's avatar Colin Walters
Browse files

scanner: Ignore C11 _Noreturn keyword

This shows up in the headers in FreeBSD's stdlib.  Now I didn't add
anything to regress.h because I think that'd introduce an effective
hard dependency on a C11-capable compiler, unless we used #ifdef
trickery.  But the problem with #ifdef is that the -expected.gir isn't
parent 938fa8f2
......@@ -163,6 +163,7 @@ stringtext ([^\\\"])|(\\.)
"__inline__" { return INLINE; }
"__inline" { return INLINE; }
"__nonnull" { if (!parse_ignored_macro()) REJECT; }
"_Noreturn" { /* Ignore */ }
"__signed__" { return SIGNED; }
"__restrict" { return RESTRICT; }
"__restrict__" { return RESTRICT; }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment