31c10a12c8
newParser was calling p.next(), which could trigger a scanner error that results in a panic. Move the first p.next() into parse(p), which correctly converts the paanic into a reportable error. Bug: 254831383 Test: TestParserError Change-Id: I2a427010379bb8dd5087550c7f159499cbb84066 |
||
---|---|---|
.. | ||
ast.go | ||
modify.go | ||
modify_test.go | ||
parser.go | ||
parser_test.go | ||
printer.go | ||
printer_test.go | ||
sort.go | ||
sort_test.go |