Annotation of parser3/src/include/pa_types.h, revision 1.13

1.2       paf         1: /*
1.8       paf         2:        Parser
                      3:        Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com)
1.9       paf         4:        Author: Alexander Petrosyan <paf@design.ru> (http://design.ru/paf)
1.8       paf         5: 
1.13    ! paf         6:        $Id: pa_types.h,v 1.12 2001/03/13 12:07:15 paf Exp $
1.2       paf         7: */
                      8: 
1.1       paf         9: #ifndef PA_TYPES_H
                     10: #define PA_TYPES_H
                     11: 
1.2       paf        12: #ifdef HAVE_CONFIG_H
1.13    ! paf        13: #      include "pa_config.h"
1.2       paf        14: #endif
                     15: 
1.4       paf        16: #ifdef WIN32
                     17: #define open _open
                     18: #define close _close
                     19: #define read _read
                     20: #define stat _stat
1.13    ! paf        21: 
        !            22: 
        !            23: #if _MSC_VER
        !            24: #pragma warning(disable:4355)   // disable C4355 warning about using this
        !            25:                                    // in calls to parent constructors
        !            26: #endif
        !            27: 
        !            28: 
1.4       paf        29: #endif
                     30: 
1.5       paf        31: // for now: used in Exception::fcomment
1.4       paf        32: #define MAX_STRING 5*0x400
1.12      paf        33: #define MAX_NUMBER 40
1.6       paf        34: 
                     35: #define STATIC_NAME "STATIC"
1.2       paf        36: 
1.1       paf        37: #undef uint
                     38: typedef unsigned int uint;
1.2       paf        39: 
1.7       paf        40: #ifndef NO_STRING_ORIGIN
1.4       paf        41: struct Origin {
1.10      paf        42:        const char *file;  // macros file name | load file name | sql query text
1.5       paf        43:        uint line; // file line no | record no
1.7       paf        44: };
1.2       paf        45: #endif
1.1       paf        46: 
                     47: #endif

E-mail: