| OLD | NEW |
| 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 // Simple test to ensure that mini_parser keeps working. | 5 // Simple test to ensure that mini_parser keeps working. |
| 6 | 6 |
| 7 #import('../../../lib/compiler/implementation/tools/mini_parser.dart', | 7 import '../../../sdk/lib/_internal/compiler/implementation/tools/mini_parser.dar
t' |
| 8 prefix: 'tool'); | 8 as tool; |
| 9 | 9 |
| 10 void main() { | 10 void main() { |
| 11 // Parse this script itself. | 11 // Parse this script itself. |
| 12 tool.toolMain(<String>[ new Options().script ]); | 12 tool.toolMain(<String>[ new Options().script ]); |
| 13 } | 13 } |
| 14 | 14 |
| 15 /** This class is unused but used to test mini_parser.dart. */ | 15 /** This class is unused but used to test mini_parser.dart. */ |
| 16 class TestClass { | 16 class TestClass { |
| 17 foo() {} | 17 foo() {} |
| 18 var i; | 18 var i; |
| 19 } | 19 } |
| OLD | NEW |