summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMats Wichmann <mats@linux.com>2025-02-17 16:26:59 (GMT)
committerMats Wichmann <mats@linux.com>2025-02-17 16:26:59 (GMT)
commit9231c38b524b0a4cd4aba78d9646247cd954615c (patch)
treedd3ecc03025a3ff65a3035e6a8b25b5783300616
parentebf4678a987e26e4b4cbd6735467d00dcfebcb3f (diff)
downloadSCons-9231c38b524b0a4cd4aba78d9646247cd954615c.zip
SCons-9231c38b524b0a4cd4aba78d9646247cd954615c.tar.gz
SCons-9231c38b524b0a4cd4aba78d9646247cd954615c.tar.bz2
Fix small problem in a yacc test
Signed-off-by: Mats Wichmann <mats@linux.com>
-rw-r--r--CHANGES.txt2
-rw-r--r--test/YACC/live.py3
2 files changed, 3 insertions, 2 deletions
diff --git a/CHANGES.txt b/CHANGES.txt
index 186a77a..60b6bda 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 9214369..e1393cf 100644
--- a/test/YACC/live.py
+++ b/test/YACC/live.py
@@ -65,8 +65,7 @@ int main(void)
return yyparse();
}
-int yyerror(s)
-char *s;
+int yyerror(char *s)
{
fprintf(stderr, "%%s\n", s);
return 0;