You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/frontc/cparser.mly
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1361,7 +1361,9 @@ pragma:
1361
1361
/* (* We want to allow certain strange things that occur in pragmas, so we
1362
1362
* cannot use directly the language of expressions *) */
1363
1363
primary_attr:
1364
-
IDENT { VARIABLE (fst $1) }
1364
+
IDENT { VARIABLE (fst $1) }
1365
+
/* (* This is just so code such as __attribute(_NoReturn) is not rejected, which may arise when combining GCC noreturn attribute and including C11 stdnoreturn.h *) */
1366
+
| NORETURN { VARIABLE ("__noreturn__") }
1365
1367
/*(* The NAMED_TYPE here creates conflicts with IDENT *)*/
0 commit comments