Make the comma after assert warn/fail/fatal optional (#2160)

Co-authored-by: Eldred Habert <[email protected]>
This commit is contained in:
RangiandEldred Habert authored and GitHub committed 2026-09-26 19:55:35 +02:00
1 parent e8422c1c88
commit f1e530ac39
5 files changed
+101 -7

No files matched your search

+3 -3
View File
@@ -752,13 +752,13 @@ assert_type:
%empty {
$$ = ASSERT_ERROR;
}
| POP_WARN COMMA {
| POP_WARN trailing_comma {
$$ = ASSERT_WARN;
}
| POP_FAIL COMMA {
| POP_FAIL trailing_comma {
$$ = ASSERT_ERROR;
}
| POP_FATAL COMMA {
| POP_FATAL trailing_comma {
$$ = ASSERT_FATAL;
}
;