summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2018-10-24 17:06:21 +0200
committerPeter Kokot <peterkokot@gmail.com>2018-10-24 20:13:04 +0200
commit22c249347e6b0e3e42aeb1b4e1ca11d6ef4b67b5 (patch)
treee94f1abf0dbe0eea5c4ea20dfa22003930aab3c3 /.gitignore
parent220a2239a6c2cc76621d5b7d0584ab3b2797958e (diff)
downloadphp-git-22c249347e6b0e3e42aeb1b4e1ca11d6ef4b67b5.tar.gz
Remove ext/json parser files generated by bison
The parser files for ext/json are generated by bison from the *.y file. Parser files in Zend and sapi/phpdbg already follow such approach of these files being ignored from tracking in the Git repository and they are shipped via the release packages later on. This way the end users still don't need to have bison dependency installed to install PHP. The genfiles script was refactored to generate the ext/json parser and lexer files.
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore2
1 files changed, 2 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index b77c69880d..a43c15df34 100644
--- a/.gitignore
+++ b/.gitignore
@@ -156,6 +156,8 @@ php
# ------------------------------------------------------------------------------
# PHP parser files generated by bison during the build process
# ------------------------------------------------------------------------------
+/ext/json/json_parser.tab.h
+/ext/json/json_parser.tab.c
/sapi/phpdbg/phpdbg_parser.c
/sapi/phpdbg/phpdbg_parser.h
/sapi/phpdbg/phpdbg_parser.output