From 210993a13becbd99b2f36ccae7d0be8f54d2e60b Mon Sep 17 00:00:00 2001 From: Job Noorman Date: Fri, 6 Feb 2026 15:03:57 +0100 Subject: [PATCH] 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 Part-of: --- src/freedreno/ir3/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/freedreno/ir3/meson.build b/src/freedreno/ir3/meson.build index 714597745c7..8668f7c5d5f 100644 --- a/src/freedreno/ir3/meson.build +++ b/src/freedreno/ir3/meson.build @@ -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' ] )