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[] = |
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 ) |