| 58 | | static int dostatic = 0; /* include static functions? */ |
| 59 | | static int doinline = 0; /* include inline functions? */ |
| 60 | | static int donum = 0; /* print line numbers? */ |
| 61 | | static int define_macro = 1; /* define macro for prototypes? */ |
| 62 | | static int use_macro = 1; /* use a macro for prototypes? */ |
| 63 | | static int use_main = 0; /* add prototype for main? */ |
| 64 | | static int no_parm_names = 0; /* no parm names - only types */ |
| 65 | | static int print_extern = 0; /* use "extern" before function declarations */ |
| 66 | | static int dont_promote = 0; /* don't promote prototypes */ |
| 67 | | static int promote_lines = 0; /* promote 'AISC_MKPT_PROMOTE'-lines */ |
| 68 | | static int aisc = 0; /* aisc compatible output */ |
| 69 | | static int cansibycplus = 0; /* produce extern "C" */ |
| 70 | | static int promote_extern_c = 0; /* produce extern "C" into prototype */ |
| 71 | | static int extern_c_seen = 0; /* true if extern "C" was parsed */ |
| 72 | | static int search__attribute__ = 0; /* search for gnu-extension __attribute__(()) ? */ |
| 73 | | static int search__ATTR__ = 0; /* search for ARB-__attribute__-macros (__ATTR__) ? */ |
| 74 | | static int inquote = 0; /* in a quote?? */ |
| 75 | | static int newline_seen = 1; /* are we at the start of a line */ |
| 76 | | static int glastc = ' '; /* last char. seen by getsym() */ |
| | 58 | static int dostatic = 0; /* include static functions? */ |
| | 59 | static int doinline = 0; /* include inline functions? */ |
| | 60 | static int donum = 0; /* print line numbers? */ |
| | 61 | static int define_macro = 1; /* define macro for prototypes? */ |
| | 62 | static int use_macro = 1; /* use a macro for prototypes? */ |
| | 63 | static int use_main = 0; /* add prototype for main? */ |
| | 64 | static int no_parm_names = 0; /* no parm names - only types */ |
| | 65 | static int print_extern = 0; /* use "extern" before function declarations */ |
| | 66 | static int dont_promote = 0; /* don't promote prototypes */ |
| | 67 | static int promote_lines = 0; /* promote 'AISC_MKPT_PROMOTE'-lines */ |
| | 68 | static int aisc = 0; /* aisc compatible output */ |
| | 69 | static int cansibycplus = 0; /* produce extern "C" */ |
| | 70 | static int promote_extern_c = 0; /* produce extern "C" into prototype */ |
| | 71 | static int extern_c_seen = 0; /* true if extern "C" was parsed */ |
| | 72 | static int search__attribute__ = 0; /* search for gnu-extension __attribute__(()) ? */ |
| | 73 | static int search__ATTR__ = 0; /* search for ARB-__attribute__-macros (__ATTR__) ? */ |
| | 74 | |
| | 75 | static const char *include_wrapper = NULL; /* add include wrapper (contains name of header or NULL) */ |
| | 76 | |
| | 77 | static int inquote = 0; /* in a quote?? */ |
| | 78 | static int newline_seen = 1; /* are we at the start of a line */ |
| | 79 | static int glastc = ' '; /* last char. seen by getsym() */ |