Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(811)

Unified Diff: pkg/front_end/lib/src/fasta/compiler_command_line.dart

Issue 2979713002: Add --set-exit-code-on-problem option. (Closed)
Patch Set: Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/front_end/lib/src/fasta/compiler_command_line.dart
diff --git a/pkg/front_end/lib/src/fasta/compiler_command_line.dart b/pkg/front_end/lib/src/fasta/compiler_command_line.dart
index 885f01f218f778045b6480d955a3b62efb2f4f5c..04a4b6c68ae8aee16f616cdd3aff285a5b3190ff 100644
--- a/pkg/front_end/lib/src/fasta/compiler_command_line.dart
+++ b/pkg/front_end/lib/src/fasta/compiler_command_line.dart
@@ -54,6 +54,10 @@ class CompilerCommandLine extends CommandLine {
options.containsKey("/?");
}
+ bool get setExitCodeOnProblem {
+ return options.containsKey("--set-exit-code-on-problem");
+ }
+
void validate() {
if (help) {
print(computeUsage(programName, verbose));

Powered by Google App Engine
This is Rietveld 408576698