summaryrefslogtreecommitdiff
path: root/core/fpdfapi
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2018-02-21 22:16:26 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-02-21 22:16:26 +0000
commitaa2aff78e082f14e4bc418f68b27817f90e3f07a (patch)
treee646df3a814cb66508350049ec2132635f231f36 /core/fpdfapi
parent00c1d0b07542611d295dc666ff55d46b0d3f712b (diff)
downloadpdfium-aa2aff78e082f14e4bc418f68b27817f90e3f07a.tar.xz
[formcalc] Cleanup if expression parsing.
This CL simplifies the if expression parsing. The elseif construct has been split into its own list of IfExpressions and no longer gets stuffed into the elseExpression. A loop was added into the output methods for the elseif expressions, which also means we can go from having: if () { } else { if () { } else { } } to if () { } else if () { } else { } Which is a bit nicer. Change-Id: I6edf75215500d6a32a8d7218d477b6960f03de51 Reviewed-on: https://pdfium-review.googlesource.com/27571 Reviewed-by: Ryan Harrison <rharrison@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fpdfapi')
0 files changed, 0 insertions, 0 deletions