]> granicus.if.org Git - php/commit
Ensure consistent error message in phpdbg parser
authorNikita Popov <nikita.ppv@gmail.com>
Wed, 2 Dec 2020 09:40:57 +0000 (10:40 +0100)
committerNikita Popov <nikita.ppv@gmail.com>
Wed, 2 Dec 2020 10:03:58 +0000 (11:03 +0100)
commitfef08723c1b584f69cbd164cf6557f680f2bc158
tree2de34a4b28a1ef00ee40c386a80521fbbd91ebb9
parentecb1592ea6dce69f8631e1820dd54120f56611a8
Ensure consistent error message in phpdbg parser

This would be either $end or "end of file" depending on bison
version. Explicitly specify "end of command" instead, which seems
more appropriate in context.
sapi/phpdbg/phpdbg_parser.y
sapi/phpdbg/tests/bug76813.phpt