diff options
author | dan sinclair <dsinclair@chromium.org> | 2018-02-19 15:18:02 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-02-19 15:18:02 +0000 |
commit | 03632fb7fd1f6924f464708155ed0338d46f9862 (patch) | |
tree | 9b0863b05a676f8e1ed48b8634d8b792a00af520 /fpdfsdk/cpdfsdk_xfawidget.cpp | |
parent | f51cdbd2bddde1de314b69280c97e57ab07dfdc8 (diff) | |
download | pdfium-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 'fpdfsdk/cpdfsdk_xfawidget.cpp')
0 files changed, 0 insertions, 0 deletions