mirror of https://github.com/zulip/zulip.git
2a07b204bf
This is a fairly major overhaul of the CSS parser to support line numbers in error messages. Basically, instead of passing "slices" of tokens around, we pass indexes into the token arrays to all of our sub-parsers, which allows them to have access to previous tokens in certain cases. This is particularly important for errors where stuff is missing (vs. being wrong). In testing this out I found a few more places to catch errors. |
||
---|---|---|
.. | ||
test_template_data | ||
__init__.py | ||
test_css_parser.py | ||
test_html_branches.py | ||
test_template_parser.py |