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. |
||
---|---|---|
.. | ||
__init__.py | ||
api_tests.py | ||
css_parser.py | ||
find_add_class.py | ||
html_branches.py | ||
html_grep.py | ||
provision.py | ||
template_parser.py | ||
test_script.py | ||
test_server.py |