dart-sdk/tools/spec_parser
Erik Ernst 1c2c6ea1cd Adjust spec parser to use exit code 0 when parsing no files
Invocations of the spec parser used to exit with an error code (245)
in the case where no files were specified. This was considered to be a
useless type of invocation, and the spec parser would print out a help
message.

However, it is perfectly possible for a Gerrit CL to give rise to
invocations like that, e.g., when the CL deletes some files and does
nothing else. Also, it causes no known issues to report a success exit
code (0) in the case where no files are specified, and hence this CL
changes the spec parser accordingly.

Change-Id: I9bd75839f1a8052b3daa62fa5440451e46fb59e8
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/253280
Reviewed-by: Alexander Thomas <athom@google.com>
Commit-Queue: Erik Ernst <eernst@google.com>
2022-08-01 23:29:44 +00:00
..
.gitignore Update spec_parser. 2019-10-25 08:57:44 +00:00
Dart.g Add enhanced enums support to Dart.g 2021-10-11 14:08:55 +00:00
Makefile Updated Dart.g, tests & status files to support ui-as-code collections 2019-03-29 13:33:52 +00:00
spec_parse.dart [repo] improve the analysis of the tools/ directory 2022-02-17 19:09:52 +00:00
SpecParser.java Adjust spec parser to use exit code 0 when parsing no files 2022-08-01 23:29:44 +00:00
SpecParserRunner.java