summaryrefslogtreecommitdiff
path: root/third_party/yasm/CHROMIUM.diff
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/yasm/CHROMIUM.diff')
-rw-r--r--third_party/yasm/CHROMIUM.diff21
1 files changed, 21 insertions, 0 deletions
diff --git a/third_party/yasm/CHROMIUM.diff b/third_party/yasm/CHROMIUM.diff
index 8f036f214d..2ff0a6b7b9 100644
--- a/third_party/yasm/CHROMIUM.diff
+++ b/third_party/yasm/CHROMIUM.diff
@@ -79,3 +79,24 @@ index a9a14c0..e45f9c5 100644
return FALSE;
}
+diff --git a/tools/re2c/parser.c b/tools/re2c/parser.c
+index 02d5c66..b3882af 100644
+--- a/tools/re2c/parser.c
++++ b/tools/re2c/parser.c
+@@ -226,15 +226,9 @@ void line_source(FILE *o, unsigned int line)
+ }
+
+ void parse(FILE *i, FILE *o){
+- time_t now;
+-
+- time(&now);
+-
+ peektok = NONE;
+
+- fputs("/* Generated by re2c 0.9.1-C on ", o);
+- fprintf(o, "%-24s", ctime(&now));
+- fputs(" */\n", o); oline+=2;
++ fputs("/* Generated by re2c 0.9.1-C */\n", o); oline++;
+
+ in = Scanner_new(i);
+