Annotation of parser3/src/include/compile.h, revision 1.4

1.1       paf         1: /*
1.4     ! paf         2:   $Id: compile.h,v 1.3 2001/02/21 11:10:02 paf Exp $
1.1       paf         3: */
                      4: 
                      5: #ifndef COMPILE_H
                      6: #define COMPILE_H
                      7: 
                      8: #include "pa_array.h"
1.2       paf         9: #include "pa_request.h"
1.1       paf        10: 
                     11: #ifndef NO_STRING_ORIGIN
1.2       paf        12: #      define COMPILE_PARAMS Request& request, char *source, char *file
1.1       paf        13: #      define COMPILE(pool, source, file) real_compile(pool, source, file)
                     14: #else
1.3       paf        15: #      define COMPILE_PARAMS Request& request, String& name, char *source
1.1       paf        16: #      define COMPILE(pool, source, file) real_compile(pool, source)
                     17: #endif
                     18: 
1.4     ! paf        19: #define MAIN_METHOD_NAME "main"
        !            20: 
        !            21: Array& real_compile(COMPILE_PARAMS);
1.1       paf        22: 
                     23: #endif

E-mail: