From 9231c38b524b0a4cd4aba78d9646247cd954615c Mon Sep 17 00:00:00 2001 From: Mats Wichmann Date: Mon, 17 Feb 2025 09:26:59 -0700 Subject: [PATCH] Fix small problem in a yacc test Signed-off-by: Mats Wichmann --- CHANGES.txt | 2 ++ test/YACC/live.py | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGES.txt b/CHANGES.txt index 186a77a5ba..60b6bda6f4 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -206,6 +206,8 @@ RELEASE VERSION/DATE TO BE FILLED IN LATER Includes code embedded in docstrings. - Handle case of "memoizer" as one member of a comma-separated --debug string - this was previously missed. + - test YACC/live.py fixed - finally started failing on an "old-style" + (K&R flavor) function declaration, updated. From Adam Scott: - Changed Ninja's TEMPLATE rule pool to use `install_pool` instead of diff --git a/test/YACC/live.py b/test/YACC/live.py index 9214369561..e1393cffe2 100644 --- a/test/YACC/live.py +++ b/test/YACC/live.py @@ -65,8 +65,7 @@ return yyparse(); } -int yyerror(s) -char *s; +int yyerror(char *s) { fprintf(stderr, "%%s\n", s); return 0;