From f0251a8b16631edf06830e08698cef5d76c1e01b Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Sat, 10 Nov 2018 02:47:26 +0100 Subject: 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 --- ext/json/php_json_scanner_defs.h | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 ext/json/php_json_scanner_defs.h (limited to 'ext/json/php_json_scanner_defs.h') 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, -}; -- cgit v1.2.1