summaryrefslogtreecommitdiff
path: root/ext/json/json_parser.tab.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove ext/json parser files generated by bisonPeter Kokot2018-10-241-1969/+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-739/+682
| | | | This reverts commit a362ae6b12419369c5cbdbb4e924915f9b196ef6.
* Rename _zval_dtor_func to _ref_dtor_funcXinchen Hui2018-07-061-682/+739
|
* Use zval_ptr_dtor_nogc() in JSON parser (it can't produce circular data ↵Dmitry Stogov2018-07-051-22/+22
| | | | structures)
* Use zend_string_release_ex() instread of zend_string_release() in places, ↵Dmitry Stogov2018-05-281-6/+6
| | | | where we sure about string persistence.
* year++Xinchen Hui2018-01-021-1/+1
|
* RC manipulation cleanup 2Xinchen Hui2017-11-021-7/+4
|
* Refactored array creation API. array_init() and array_init_size() are ↵Dmitry Stogov2017-09-201-2/+4
| | | | converted into macros calling zend_new_array(). They are not functions anymore and don't return any values.
* Update copyright headers to 2017Sammy Kaye Powers2017-01-021-1/+1
|
* Fixed compilation warningsDmitry Stogov2016-06-221-3/+3
|
* Use empty keys instead of _empty_ in json decodingJakub Zelenka2016-06-201-4/+1
|
* Fix and clean up exporting of json parserJakub Zelenka2016-05-111-3/+8
|
* Use embedded json parser method structureJakub Zelenka2016-05-021-13/+13
|
* Remove json parser depth methods and tidy it upJakub Zelenka2016-04-101-54/+38
|
* Add method hooking support to json parserJakub Zelenka2016-04-101-48/+116
| | | | | | | This commit is just a slight modification (renaming and some small changes) of the patch that has been provided by Andrey Hristov. It adds support for hooking of the json parser operations and allows re-using of modified JSON parsing outside of json ext.
* Happy new year (Update copyright to 2016)Lior Kaplan2016-01-011-1/+1
|
* Regenerate bison and re2c files in jsonJakub Zelenka2015-07-181-550/+444
|
* Use ZSTR_ API to access zend_string elements (this is just renaming without ↵Dmitry Stogov2015-06-301-446/+552
| | | | semantick changes).
* Fix bug #68546 (json_decode cannot access property started with \0)Jakub Zelenka2015-06-211-7/+17
|
* Improve json parser codeJakub Zelenka2015-06-071-21/+67
|
* Tidy up and regenerate json parser with latest bison versionJakub Zelenka2015-05-101-736/+679
|
* Optimized json_parserXinchen Hui2015-05-061-691/+748
| | | | | | 1. use zend_string in key 2. use faster APIs 3. use ZVAL_COPY_VALUE instead of assignment (save u2 copy)
* fix datatype mismatchesAnatol Belski2015-03-251-1/+1
|
* s/PHP Version 5/PHP Version 7/gLior Kaplan2015-03-131-1/+1
| | | | Follow up for d0cb7153
* ZTS cleanupReeze Xia2015-03-081-1/+1
|
* Remove unused destructor in json parserJakub Zelenka2015-02-151-4/+4
|
* Add bison 3.0.4 genereted files for json parserJakub Zelenka2015-02-151-0/+1860
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).