equal
deleted
inserted
replaced
42 * and eno_param_declaration_c objects. |
42 * and eno_param_declaration_c objects. |
43 */ |
43 */ |
44 |
44 |
45 #include "add_en_eno_param_decl.hh" |
45 #include "add_en_eno_param_decl.hh" |
46 #include <strings.h> |
46 #include <strings.h> |
|
47 #include "../main.hh" // required for ERROR() and ERROR_MSG() macros. |
47 |
48 |
48 |
49 |
49 // #define DEBUG |
50 // #define DEBUG |
50 #ifdef DEBUG |
51 #ifdef DEBUG |
51 #define TRACE(classname) printf("\n____%s____\n",classname); |
52 #define TRACE(classname) printf("\n____%s____\n",classname); |
52 #else |
53 #else |
53 #define TRACE(classname) |
54 #define TRACE(classname) |
54 #endif |
55 #endif |
55 |
56 |
56 |
57 |
57 #define ERROR error_exit(__FILE__,__LINE__) |
|
58 /* function defined in main.cc */ |
|
59 extern void error_exit(const char *file_name, int line_no); |
|
60 |
58 |
61 |
59 |
62 |
60 |
63 /* This class is a singleton. |
61 /* This class is a singleton. |
64 * So we need a pointer to the singe instance... |
62 * So we need a pointer to the singe instance... |