summaryrefslogtreecommitdiff
path: root/ext/json/json_parser.tab.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove ext/json parser files generated by bisonPeter Kokot2018-10-241-95/+0
| | | | | | | | | | | 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.
* Revert "Rename _zval_dtor_func to _ref_dtor_func"Xinchen Hui2018-07-061-29/+36
| | | | This reverts commit a362ae6b12419369c5cbdbb4e924915f9b196ef6.
* Rename _zval_dtor_func to _ref_dtor_funcXinchen Hui2018-07-061-36/+29
|
* Use zend_string_release_ex() instread of zend_string_release() in places, ↵Dmitry Stogov2018-05-281-3/+3
| | | | where we sure about string persistence.
* RC manipulation cleanup 2Xinchen Hui2017-11-021-3/+3
|
* Fixed compilation warningsDmitry Stogov2016-06-221-3/+3
|
* Regenerate bison and re2c files in jsonJakub Zelenka2015-07-181-42/+30
|
* Use ZSTR_ API to access zend_string elements (this is just renaming without ↵Dmitry Stogov2015-06-301-30/+42
| | | | semantick changes).
* Tidy up and regenerate json parser with latest bison versionJakub Zelenka2015-05-101-29/+36
|
* Optimized json_parserXinchen Hui2015-05-061-37/+30
| | | | | | 1. use zend_string in key 2. use faster APIs 3. use ZVAL_COPY_VALUE instead of assignment (save u2 copy)
* Add bison 3.0.4 genereted files for json parserJakub Zelenka2015-02-151-0/+95
The definitions file (json_parser.tab.h) contains file system dependent name for C preprocessor guard: YY_PHP_JSON_YY_HOME_JAKUB_PROG_PHP_MASTER_EXT_JSON_JSON_PARSER_TAB_H_INCLUDED This is because the srcdir is used for default definitions name. It's a correct default (--definition=$(srcdir)/json_parser.tab.h) because the build would fail otherwise. Unfortunately Bison does not have a special option for defining cpp guard name. The only way would be using skeleton file but that's not possible with the current configuration as it requires using a specific bison version (disallowing range of supported versions).