Closed apop5 closed 4 weeks ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 81.43%. Comparing base (
ce85203
) to head (d9d389b
). Report is 121 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
base_parser.py did not support conditional directives that were comparing to empty strings (e.g.
!if $(MY_VAL) == ""
,!if $(MY_VAL) != "". The logic in
_TokenizeConditional, was setting
modeto QUOTE_MODE twice because the token length was zero for an empty quote (
len(token) == 0`).This PR Updates the logic to not enter QUOTE_MODE when its already in QUOTE_MODE, and to fall over to end of QUOTE_MODE.