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

Side by Side Diff: lib/compiler/implementation/dart2js.dart

Issue 10875032: Remove now unused --unparse-validation flag. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « lib/compiler/implementation/compiler.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #library('dart2js'); 5 #library('dart2js');
6 6
7 #import('dart:io'); 7 #import('dart:io');
8 #import('dart:uri'); 8 #import('dart:uri');
9 #import('dart:utf'); 9 #import('dart:utf');
10 10
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 List<String> arguments = <String>[]; 117 List<String> arguments = <String>[];
118 List<OptionHandler> handlers = <OptionHandler>[ 118 List<OptionHandler> handlers = <OptionHandler>[
119 new OptionHandler('-[chv?]+', handleShortOptions), 119 new OptionHandler('-[chv?]+', handleShortOptions),
120 new OptionHandler('--throw-on-error', (_) => throwOnError = true), 120 new OptionHandler('--throw-on-error', (_) => throwOnError = true),
121 new OptionHandler('--suppress-warnings', (_) => showWarnings = false), 121 new OptionHandler('--suppress-warnings', (_) => showWarnings = false),
122 new OptionHandler('--output-type=dart|--output-type=js', passThrough), 122 new OptionHandler('--output-type=dart|--output-type=js', passThrough),
123 new OptionHandler('--verbose', (_) => verbose = true), 123 new OptionHandler('--verbose', (_) => verbose = true),
124 new OptionHandler('--library-root=.+', setLibraryRoot), 124 new OptionHandler('--library-root=.+', setLibraryRoot),
125 new OptionHandler('--out=.+|-o.+', setOutput), 125 new OptionHandler('--out=.+|-o.+', setOutput),
126 new OptionHandler('--allow-mock-compilation', passThrough), 126 new OptionHandler('--allow-mock-compilation', passThrough),
127 new OptionHandler('--unparse-validation', passThrough),
128 new OptionHandler('--no-colors', (_) => enableColors = false), 127 new OptionHandler('--no-colors', (_) => enableColors = false),
129 new OptionHandler('--enable[_-]checked[_-]mode|--checked', 128 new OptionHandler('--enable[_-]checked[_-]mode|--checked',
130 (_) => passThrough('--enable-checked-mode')), 129 (_) => passThrough('--enable-checked-mode')),
131 new OptionHandler(@'--help|/\?|/h', (_) => wantHelp = true), 130 new OptionHandler(@'--help|/\?|/h', (_) => wantHelp = true),
132 new OptionHandler(@'--package-root=.+|-p.+', setPackageRoot), 131 new OptionHandler(@'--package-root=.+|-p.+', setPackageRoot),
133 // The following two options must come last. 132 // The following two options must come last.
134 new OptionHandler('-.*', (String argument) { 133 new OptionHandler('-.*', (String argument) {
135 helpAndFail('Error: Unknown option "$argument".'); 134 helpAndFail('Error: Unknown option "$argument".');
136 }), 135 }),
137 new OptionHandler('.*', (String argument) { 136 new OptionHandler('.*', (String argument) {
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
374 } catch (var ignored) { 373 } catch (var ignored) {
375 print('Internal error: error while printing exception'); 374 print('Internal error: error while printing exception');
376 } 375 }
377 try { 376 try {
378 print(trace); 377 print(trace);
379 } finally { 378 } finally {
380 exit(253); // 253 is recognized as a crash by our test scripts. 379 exit(253); // 253 is recognized as a crash by our test scripts.
381 } 380 }
382 } 381 }
383 } 382 }
OLDNEW
« no previous file with comments | « lib/compiler/implementation/compiler.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698