From cee55351d6c2865447e72d9e3e8ba5922647162d Mon Sep 17 00:00:00 2001 From: jvoisin Date: Sat, 29 Apr 2023 16:46:02 +0200 Subject: Improve how the parser is generated - use long variant of options for re2c in its makefile - use `define` instead of magic numbers - add some consts - trailing `;` are now mandatory for conditions - NULL bytes are no longer allowed in configuration file - the parser shouldn't crash in the absence of trailing new line at the end of its configuration file --- src/tests/broken_configuration/broken_conf_allow_broken_enabled.phpt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tests/broken_configuration/broken_conf_allow_broken_enabled.phpt') diff --git a/src/tests/broken_configuration/broken_conf_allow_broken_enabled.phpt b/src/tests/broken_configuration/broken_conf_allow_broken_enabled.phpt index b999e7e..006e31d 100644 --- a/src/tests/broken_configuration/broken_conf_allow_broken_enabled.phpt +++ b/src/tests/broken_configuration/broken_conf_allow_broken_enabled.phpt @@ -11,5 +11,5 @@ error_log=/dev/null echo 1337; ?> --EXPECT-- -Fatal error: [snuffleupagus][0.0.0.0][config][log] Parser error on line 1 in Unknown on line 0 +Fatal error: [snuffleupagus][0.0.0.0][config][log] parser error on line 1 in Unknown on line 0 1337 -- cgit v1.3