mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-17 03:50:35 +01:00
ir3/parser: make bison fail on warnings
This should hopefully prevent shift/reduce issues in the future. To help debugging, also make bison always generate counterexamples. Signed-off-by: Job Noorman <jnoorman@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39735>
This commit is contained in:
parent
ca4e48d743
commit
210993a13b
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ ir3_parser = custom_target(
|
|||
input: 'ir3_parser.y',
|
||||
output: ['ir3_parser.c', 'ir3_parser.h'],
|
||||
command: [
|
||||
prog_bison, '@INPUT@', '--name-prefix=ir3_yy', '--defines=@OUTPUT1@', '--output=@OUTPUT0@'
|
||||
prog_bison, '@INPUT@', '--name-prefix=ir3_yy', '--defines=@OUTPUT1@', '--output=@OUTPUT0@', '-Werror', '-Wcounterexamples'
|
||||
]
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue