diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2018-02-21 22:16:26 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-02-21 22:16:26 +0000 |
commit | aa2aff78e082f14e4bc418f68b27817f90e3f07a (patch) | |
tree | e646df3a814cb66508350049ec2132635f231f36 /fxbarcode | |
parent | 00c1d0b07542611d295dc666ff55d46b0d3f712b (diff) | |
download | pdfium-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 'fxbarcode')
0 files changed, 0 insertions, 0 deletions