diff options
| author | Peter Kokot <peterkokot@gmail.com> | 2018-11-10 02:47:26 +0100 |
|---|---|---|
| committer | Peter Kokot <peterkokot@gmail.com> | 2018-11-11 02:55:46 +0100 |
| commit | f0251a8b16631edf06830e08698cef5d76c1e01b (patch) | |
| tree | 8a2fefe158a2d1cda48fd70bc697ea85e62e9828 /ext/json/php_json_scanner_defs.h | |
| parent | 1c873c119133c6d5ef13b635cba820236fa5848d (diff) | |
| download | php-git-f0251a8b16631edf06830e08698cef5d76c1e01b.tar.gz | |
Remove lexer files generated by RE2C
This patch removes generated lexer files by re2c during the build
process so they are not tracked by Git yet can be still shipped when
PHP is released. The genfiles script additionally provides generation
of these lexer files when creating a release of the PHP source code.
The genfiles script refactorings:
- added file header
- echoing steps instead of comments
- cleaning only lines starting with `#line`
- eval removed in favor of direct executed commands
- the debug mode `set -x` removed
- script can be called from any path
- improved comments
Diffstat (limited to 'ext/json/php_json_scanner_defs.h')
| -rw-r--r-- | ext/json/php_json_scanner_defs.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/ext/json/php_json_scanner_defs.h b/ext/json/php_json_scanner_defs.h deleted file mode 100644 index 97ad7626ad..0000000000 --- a/ext/json/php_json_scanner_defs.h +++ /dev/null @@ -1,8 +0,0 @@ -/* Generated by re2c 1.0.3 */ - -enum YYCONDTYPE { - yycJS, - yycSTR_P1, - yycSTR_P2_BIN, - yycSTR_P2_UTF, -}; |
