| OLD | NEW | 
 | (Empty) | 
|   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 |  | 
|   3 // BSD-style license that can be found in the LICENSE file. |  | 
|   4  |  | 
|   5 #import('lang.dart', prefix: 'lang'); |  | 
|   6 #import('frog_leg.dart', prefix: 'leg'); |  | 
|   7 #import('minfrogc.dart', prefix: 'minfrogc'); |  | 
|   8  |  | 
|   9 void main() { |  | 
|  10   lang.legCompile = leg.compile; |  | 
|  11   try { |  | 
|  12     minfrogc.main(); |  | 
|  13   } catch (var exception, var trace) { |  | 
|  14     try { |  | 
|  15       print('Internal error: $exception'); |  | 
|  16     } catch (var ignored) { |  | 
|  17       print('Internal error: error while printing exception'); |  | 
|  18     } |  | 
|  19     try { |  | 
|  20       print(trace); |  | 
|  21     } finally { |  | 
|  22       exit(253); |  | 
|  23     } |  | 
|  24   } |  | 
|  25 } |  | 
| OLD | NEW |