mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Group extern RGBASM variables in an Options struct
This commit is contained in:
@@ -1671,13 +1671,13 @@ iconst:
|
||||
|
||||
precision_arg:
|
||||
%empty {
|
||||
$$ = fix_Precision();
|
||||
$$ = options.fixPrecision;
|
||||
}
|
||||
| COMMA iconst {
|
||||
$$ = $2;
|
||||
if ($$ < 1 || $$ > 31) {
|
||||
::error("Fixed-point precision must be between 1 and 31, not %" PRId32, $$);
|
||||
$$ = fix_Precision();
|
||||
$$ = options.fixPrecision;
|
||||
}
|
||||
}
|
||||
;
|
||||
|
||||
Reference in New Issue
Block a user