Chromium Code Reviews| Index: lib/compiler/implementation/dart2js.dart |
| diff --git a/lib/compiler/implementation/dart2js.dart b/lib/compiler/implementation/dart2js.dart |
| index c455e13dfdfce796f3c40ddbd5f75f10c1bed869..435d5b520693a8ee5553d546521b39949abad220 100644 |
| --- a/lib/compiler/implementation/dart2js.dart |
| +++ b/lib/compiler/implementation/dart2js.dart |
| @@ -66,6 +66,7 @@ void compile(List<String> argv) { |
| List<OptionHandler> handlers = <OptionHandler>[ |
| new OptionHandler('--throw-on-error', (_) => throwOnError = true), |
| new OptionHandler('--suppress-warnings', (_) => showWarnings = false), |
| + new OptionHandler('--2dart', passThrough), |
|
ahe
2012/05/21 15:38:55
I'm not too fond of the name of this option. How a
|
| new OptionHandler('--verbose|-v', (_) => verbose = true), |
| new OptionHandler('--library-root=.+', (String argument) { |
| String path = nativeToUriPath(extractParameter(argument)); |