diff options
author | Peter Kokot <peterkokot@gmail.com> | 2018-10-20 22:06:04 +0200 |
---|---|---|
committer | Peter Kokot <peterkokot@gmail.com> | 2018-10-23 19:04:13 +0200 |
commit | c0446d55a2ea2abaaee5f5461f68ad8054aea56f (patch) | |
tree | 4d3838f249511caa39972a31c33efa0836a2b859 /sapi/phpdbg/phpdbg_parser.y | |
parent | 1362d8e103f181faab3d909a413344729593a712 (diff) | |
download | php-git-c0446d55a2ea2abaaee5f5461f68ad8054aea56f.tar.gz |
Remove phpdbg parser files generated by bison
The parser files for phpdbg are generated by bison from the *.y file.
Parser files in Zend already follows such approach of these files being
ignored from tracking in the Git repository and they are shipped via
the release packages. This way the end user still don't need to have
bison dependency installed to install PHP.
The genfiles script was refactored to generate the phpdbg parser and lexer
files.
Empty comment in phpdbg parser y template file has been changed to the
YACC compliant /* empty */ instead of custom one.
Diffstat (limited to 'sapi/phpdbg/phpdbg_parser.y')
-rw-r--r-- | sapi/phpdbg/phpdbg_parser.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/phpdbg/phpdbg_parser.y b/sapi/phpdbg/phpdbg_parser.y index 9d969fffd0..cecb7b2c55 100644 --- a/sapi/phpdbg/phpdbg_parser.y +++ b/sapi/phpdbg/phpdbg_parser.y @@ -68,7 +68,7 @@ typedef void* yyscan_t; input : command { $$ = $1; } | input T_SEPARATOR command { phpdbg_stack_separate($1.top); $$ = $3; } - | /* nothing */ + | /* empty */ ; command |