Annotation of parser3/src/include/pa_types.h, revision 1.5
1.2 paf 1: /*
1.5 ! paf 2: $Id: pa_types.h,v 1.4 2001/02/20 18:45:51 paf Exp $
1.2 paf 3: */
4:
1.1 paf 5: #ifndef PA_TYPES_H
6: #define PA_TYPES_H
7:
1.2 paf 8: #ifdef HAVE_CONFIG_H
9: #include "pa_config.h"
10: #endif
11:
1.4 paf 12: #ifdef WIN32
13: #define open _open
14: #define close _close
15: #define read _read
16: #define stat _stat
17: #endif
18:
1.5 ! paf 19: // for now: used in Exception::fcomment
1.4 paf 20: #define MAX_STRING 5*0x400
1.2 paf 21:
1.1 paf 22: #undef uint
23: typedef unsigned int uint;
1.2 paf 24:
1.4 paf 25: struct Origin {
1.2 paf 26: #ifndef NO_STRING_ORIGIN
1.5 ! paf 27: char *file; // macros file name | load file name | sql query text
! 28: uint line; // file line no | record no
1.2 paf 29: #endif
30: };
1.1 paf 31:
32: #endif
E-mail: