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

Side by Side Diff: frog/frogc.dart

Issue 9873021: Move frog/leg to lib/compiler/implementation. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 8 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 | « no previous file | frog/lang.dart » ('j') | 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) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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 #import('lang.dart', prefix: 'lang'); 5 #import('lang.dart', prefix: 'lang');
6 #import('leg/frog_leg.dart', prefix: 'leg'); 6 #import('../lib/compiler/implementation/frog_leg.dart', prefix: 'leg');
7 #import('minfrogc.dart', prefix: 'minfrogc'); 7 #import('minfrogc.dart', prefix: 'minfrogc');
8 8
9 void main() { 9 void main() {
10 lang.legCompile = leg.compile; 10 lang.legCompile = leg.compile;
11 try { 11 try {
12 minfrogc.main(); 12 minfrogc.main();
13 } catch (var exception, var trace) { 13 } catch (var exception, var trace) {
14 try { 14 try {
15 print('Internal error: $exception'); 15 print('Internal error: $exception');
16 } catch (var ignored) { 16 } catch (var ignored) {
17 print('Internal error: error while printing exception'); 17 print('Internal error: error while printing exception');
18 } 18 }
19 try { 19 try {
20 print(trace); 20 print(trace);
21 } finally { 21 } finally {
22 exit(253); 22 exit(253);
23 } 23 }
24 } 24 }
25 } 25 }
OLDNEW
« no previous file with comments | « no previous file | frog/lang.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698