platform_build_blueprint/parser
Colin Cross 31c10a12c8 Fix panic in parser when first token is invalid
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
2022-10-21 14:38:52 -07:00
..
ast.go Merge "Fix misspelling. Oversight from the CL split after rebasing. Test: N/A" 2022-08-09 14:40:35 +00:00
modify.go Add multiple property and replace functionality to bpmodify. 2022-08-08 17:58:11 +00:00
modify_test.go Add Patch and PatchList for making textual changes 2018-04-10 16:50:39 -07:00
parser.go Fix panic in parser when first token is invalid 2022-10-21 14:38:52 -07:00
parser_test.go Fix panic in parser when first token is invalid 2022-10-21 14:38:52 -07:00
printer.go Add newlines around list of structs 2022-02-09 11:10:12 +09:00
printer_test.go Add newlines around list of structs 2022-02-09 11:10:12 +09:00
sort.go Fix numericStringLess and add tests 2021-03-08 17:59:55 -08:00
sort_test.go Fix numericStringLess and add tests 2021-03-08 17:59:55 -08:00