/* * global.h * * Global.h and other .h header files can be used to provide additional * definitions for the generated Demeter environment. * This file contains the mechanism to enable or disable tracing * information while executing propagation patterns. */ #include #include #include #include #include #include #include #include #include #include "lex-comp-pp.h" #ifndef NOTRACE #define DEM_TRACE(c,m) DemTrace demTrace(__FILE__,__LINE__,c,m) #else #define DEM_TRACE(c,m) #endif extern "C" { int unlink(const char *); int rmdir(const char *); /* char *getcwd(char *,int); char * tempnam( const char *, const char *);*/ } #ifndef MAXDIRLEN #define MAXDIRLEN 1023 #endif enum mv_mode {mv_interactive, mv_silent}; extern char *toolname; extern char *version; extern int nosuffixFlag; extern void abort_with_help(); extern int mv_if_change(mv_mode m,char *newfile,char *oldfile); extern FILE *xfopen(char *s,char *p);