mirror of
https://github.com/gbdev/rgbds.git
synced 2026-10-06 04:05:38 +00:00
Make the comma after assert warn/fail/fatal optional (#2160)
Co-authored-by: Eldred Habert <[email protected]>
This commit is contained in:
1 parent
e8422c1c88
commit
f1e530ac39
5 files changed
+101
-7
No files matched your search
+3
-3
@@ -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;
|
||||
}
|
||||
;
|
||||
|
||||
Reference in new issue
Block a user