DescriptionMojo: Reformat parser_unittest.py.
I guess this these are parser tests, and whitespace will be eaten by the
lexer. So I may as well make the tests kind of readable.
Also:
* Fix line number reporting (and snippet generation) for fixed size
array error reporting (we only get line numbers for things from the
lexer).
* Rename foos in parser.py to foo_list, for increased visibility.
* A few more small style fixes.
R=jamesr@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=281069
Patch Set 1 #
Total comments: 2
Patch Set 2 : docstring for BaseNode #
Messages
Total messages: 6 (0 generated)
|