/[smarc]/smarc/src/vmachine/main.cc
ViewVC logotype

Diff of /smarc/src/vmachine/main.cc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by misto, Tue Dec 3 15:36:16 2002 UTC revision 1.5 by misto, Sat Dec 28 12:45:29 2002 UTC
# Line 25  Line 25 
25  #include <iostream>  #include <iostream>
26  #include <string>  #include <string>
27    
 #include "mplexer.h"  
28  #include "exception.h"  #include "exception.h"
 #include "internal_reg.h"  
29  #include "vmachine.h"  #include "vmachine.h"
30    
31  char usage_str[] =  char usage_str[] =
# Line 56  void program::parse_commandline( int arg Line 54  void program::parse_commandline( int arg
54  void program::process( void )  void program::process( void )
55  {  {
56          try {          try {
57                    vmachine v;
58    
59          } catch( ex<circuit> e ) {          } catch( ex<vmachine> e ) {
60                  cout << e.error_msg() << endl;                  cout << e.error_msg() << endl;
61                  throw ex<program>("Fatal error in "                  throw ex<program>("Fatal error in "
62                                  "circuit class. Exiting...");                                  "vmachine class. Exiting...");
63          }          }
64  }  }
65  int main( int argc , char **argv )  int main( int argc , char **argv )

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26