summaryrefslogtreecommitdiff
path: root/third_party/yasm
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-07-11 22:12:59 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-07-11 22:12:59 +0000
commitebfd26c38c3788d8924a0fc26ba17c50ae9eebaa (patch)
tree2c7bb2c95905ef59cdc2c063aa43b5bdcce5621a /third_party/yasm
parent94230e5cfd8c5b78ab63536fa3c1b95ceb92fe0a (diff)
downloadpdfium-ebfd26c38c3788d8924a0fc26ba17c50ae9eebaa.tar.xz
Roll third_party/yasm/source/patched-yasm/ b98114e18..720b70524 (1 commit)
https://chromium.googlesource.com/chromium/deps/yasm/patched-yasm.git/+log/b98114e18d8b..720b70524a44 Created with: roll-dep third_party/yasm/source/patched-yasm TBR=dsinclair@chromium.org Change-Id: Ie8893bfafcb26d8fe88a9c3efa11548043675513 Reviewed-on: https://pdfium-review.googlesource.com/37270 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'third_party/yasm')
-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);
+