diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2017-09-24 07:31:57 +0200 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2017-09-24 08:05:31 +0200 |
| commit | 27fe993b0e36b0598b0dc16c1b7ae417389562f8 (patch) | |
| tree | af1ad8d7dbc784758e5fb4efd620e43bb9cbfdde /tests | |
| parent | ffe907d176305fab6df6eaebbd4aaf45b2ef4c03 (diff) | |
Add _parse_cond() helper for some 'if <y>' cases
There's already parse_val_and_cond(), which handles '<x> if <y>' where
both <x> and <y> need to be parsed. Add a corresponding _parse_cond()
helper which can be used in cases where only <y> should be parsed (for
'select', 'imply', and 'range').
Also move both _parse_val_and_cond() and _parse_cond() outside
_parse_properties(). More explicit, and shows a small performance
improvement during parsing.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions
