From ebfd26c38c3788d8924a0fc26ba17c50ae9eebaa Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Wed, 11 Jul 2018 22:12:59 +0000 Subject: 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 Reviewed-by: Lei Zhang --- DEPS | 2 +- third_party/yasm/CHROMIUM.diff | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/DEPS b/DEPS index 9316cd5a98..8fe85c2037 100644 --- a/DEPS +++ b/DEPS @@ -34,7 +34,7 @@ vars = { 'tools_memory_revision': 'f7b00daf4df7f6c469f5fbc68d7f40f6bd15d6e6', 'trace_event_revision': '211b3ed9d0481b4caddbee1322321b86a483ca1f', 'v8_revision': '9cf8abb7ce7e3a3152fb71d0e87678e64f7ab0c8', - 'yasm_source_revision': 'b98114e18d8b9b84586b10d24353ab8616d4c5fc', + 'yasm_source_revision': '720b70524a4424b15fc57e82263568c8ba0496ad', 'zlib_revision': '39b4a6260702da4c089eca57136abf40a39667e9', } 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); + -- cgit v1.2.3