summaryrefslogtreecommitdiff
path: root/fxjs/cfxjse_formcalc_context.cpp
diff options
context:
space:
mode:
authordan sinclair <dsinclair@chromium.org>2018-02-19 15:18:02 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-02-19 15:18:02 +0000
commit03632fb7fd1f6924f464708155ed0338d46f9862 (patch)
tree9b0863b05a676f8e1ed48b8634d8b792a00af520 /fxjs/cfxjse_formcalc_context.cpp
parentf51cdbd2bddde1de314b69280c97e57ab07dfdc8 (diff)
downloadpdfium-03632fb7fd1f6924f464708155ed0338d46f9862.tar.xz
Simplify formcalc token list
The keyword list in the formcalc lexer is only used to match identifiers. We don't need to store the non-identifier tokens in the list, so they're removed. The hash is removed and the list is compared by string instead. The token names have been moved to DEBUG so they won't be included in Release builds. Change-Id: Ieec00e9944960e559079083a605e3249c4128841 Reviewed-on: https://pdfium-review.googlesource.com/27190 Commit-Queue: Ryan Harrison <rharrison@chromium.org> Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'fxjs/cfxjse_formcalc_context.cpp')
0 files changed, 0 insertions, 0 deletions