Zend/zend_language_scanner.c and Zend/zend_language_scanner_defs.h
are generated by re2c and under version control. This is not a
problem per-se. But since there is a timestamp in the generated
files they differ after a build, leaving the repository in an
unclean state:
➜ src git:(PHP-5.4) ✗ git diff
diff --git a/Zend/zend_language_scanner.c
b/Zend/zend_language_scanner.c
index 3f6189e..b7f1a0a 100644
--- a/Zend/zend_language_scanner.c
+++ b/Zend/zend_language_scanner.c
@@ -1,4 +1,4 @@
-/* Generated by re2c 0.13.5 on Thu Mar 1 21:27:30 2012 */
+/* Generated by re2c 0.13.5 on Tue Mar 27 11:03:20 2012 */
#line 1 "Zend/zend_language_scanner.l"
/*
diff --git a/Zend/zend_language_scanner_defs.h
b/Zend/zend_language_scanner_defs.h
index 015a903..61131ca 100644
--- a/Zend/zend_language_scanner_defs.h
+++ b/Zend/zend_language_scanner_defs.h
@@ -1,4 +1,4 @@
-/* Generated by re2c 0.13.5 on Thu Mar 1 21:27:30 2012 */
+/* Generated by re2c 0.13.5 on Tue Mar 27 11:03:20 2012 */
#line 3 "Zend/zend_language_scanner_defs.h"
enum YYCONDTYPE {
Can't we just remove the comment with the timestamp from the templates
these files are generated from? Thanks!
--
Sebastian Bergmann Co-Founder and Principal Consultant
http://sebastian-bergmann.de/ http://thePHP.cc/
Hi,
I also would like to remove date from them.
It seems --no-generation-date is the option for that.
$ re2c --version
re2c 0.13.5
--
Yasuo Ohgaki
yohgaki@ohgaki.net
2012/3/27 Sebastian Bergmann sebastian@php.net:
Zend/zend_language_scanner.c and Zend/zend_language_scanner_defs.h
are generated by re2c and under version control. This is not a
problem per-se. But since there is a timestamp in the generated
files they differ after a build, leaving the repository in an
unclean state:➜ src git:(PHP-5.4) ✗ git diff
diff --git a/Zend/zend_language_scanner.c
b/Zend/zend_language_scanner.c
index 3f6189e..b7f1a0a 100644
--- a/Zend/zend_language_scanner.c
+++ b/Zend/zend_language_scanner.c
@@ -1,4 +1,4 @@
-/* Generated by re2c 0.13.5 on Thu Mar 1 21:27:30 2012 /
+/ Generated by re2c 0.13.5 on Tue Mar 27 11:03:20 2012 /
#line 1 "Zend/zend_language_scanner.l"
/diff --git a/Zend/zend_language_scanner_defs.h
b/Zend/zend_language_scanner_defs.h
index 015a903..61131ca 100644
--- a/Zend/zend_language_scanner_defs.h
+++ b/Zend/zend_language_scanner_defs.h
@@ -1,4 +1,4 @@
-/* Generated by re2c 0.13.5 on Thu Mar 1 21:27:30 2012 /
+/ Generated by re2c 0.13.5 on Tue Mar 27 11:03:20 2012 */
#line 3 "Zend/zend_language_scanner_defs.h"enum YYCONDTYPE {
Can't we just remove the comment with the timestamp from the templates
these files are generated from? Thanks!--
Sebastian Bergmann Co-Founder and Principal Consultant
http://sebastian-bergmann.de/ http://thePHP.cc/
Hi,
I also would like to remove date from them.
It seems --no-generation-date is the option for that.
push
Would be really nice to add this. The constantly changed files are a
bit annoying :)
Nikita