diff options
author | Nicolas Pena <npm@chromium.org> | 2017-04-11 11:05:56 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-04-11 15:27:16 +0000 |
commit | 5c97fd86374a1638710870a8603438f6d6fa11d1 (patch) | |
tree | f0650a974cdb739c421a961c06d48cb54a087451 /xfa/fxfa/fm2js/xfa_error.h | |
parent | 6e485caca4d943a616853fbbf7446d398412bf13 (diff) | |
download | pdfium-5c97fd86374a1638710870a8603438f6d6fa11d1.tar.xz |
Avoid long assignment chain in FM parser
We only parse FM right before translating to JS. Our current implementation of
assignment will duplicate to first expression's ToJavascript. So having a long
chain of assignments will result in a huge ToJavascript.
Bug: chromium:665087
Change-Id: I542371b5787113be2f2d686153ed0a6c48191bab
Reviewed-on: https://pdfium-review.googlesource.com/4030
Commit-Queue: Nicolás Peña <npm@chromium.org>
Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/fm2js/xfa_error.h')
-rw-r--r-- | xfa/fxfa/fm2js/xfa_error.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xfa/fxfa/fm2js/xfa_error.h b/xfa/fxfa/fm2js/xfa_error.h index d6bb72bb34..b6621da440 100644 --- a/xfa/fxfa/fm2js/xfa_error.h +++ b/xfa/fxfa/fm2js/xfa_error.h @@ -17,6 +17,7 @@ extern const wchar_t kFMErrExpectedToken[]; extern const wchar_t kFMErrExpectedEndIf[]; extern const wchar_t kFMErrUnexpectedExpression[]; extern const wchar_t kFMErrExpectedNonEmptyExpression[]; +extern const wchar_t kFMErrLongAssignmentChain[]; class CXFA_FMErrorInfo { public: |