diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2018-05-08 15:20:27 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-05-08 15:20:27 +0000 |
commit | dec08c8d3fbc4e89748f2d655b32727cfab373ed (patch) | |
tree | 9aac943ee5b8471322be5747d02ed8927a5ffa05 /testing/string_write_stream.h | |
parent | bda113c645673fd152bb9ca3eaddd3c34920223e (diff) | |
download | pdfium-dec08c8d3fbc4e89748f2d655b32727cfab373ed.tar.xz |
[fm2js] Fail transpiling if lexer has left over data
If there is remaining data after the lexer has said it's complete then
something has gone wrong while lexing the formcalc data. This CL changes
the transpiler to return an error in the case of the lexer havign extra
data.
Bug: chromium:834575
Change-Id: I8a1288a7f01cc69faf2033829d68246d815258de
Reviewed-on: https://pdfium-review.googlesource.com/32130
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'testing/string_write_stream.h')
0 files changed, 0 insertions, 0 deletions