2 * Main definitions and externals
4 * Copyright 1998 Bertho A. Stultiens (BS)
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
24 #ifndef __WRC_WRCTYPES_H
28 #include <time.h> /* For time_t */
30 #define WRC_MAJOR_VERSION 1
31 #define WRC_MINOR_VERSION 1
32 #define WRC_MICRO_VERSION 9
33 #define WRC_RELEASEDATE "(31-Dec-2000)"
35 #define WRC_STRINGIZE(a) #a
36 #define WRC_EXP_STRINGIZE(a) WRC_STRINGIZE(a)
37 #define WRC_VERSIONIZE(a,b,c) WRC_STRINGIZE(a) "." WRC_STRINGIZE(b) "." WRC_STRINGIZE(c)
38 #define WRC_VERSION WRC_VERSIONIZE(WRC_MAJOR_VERSION, WRC_MINOR_VERSION, WRC_MICRO_VERSION)
39 #define WRC_FULLVERSION WRC_VERSION " " WRC_RELEASEDATE
42 extern int debuglevel
;
43 #define DEBUGLEVEL_NONE 0x0000
44 #define DEBUGLEVEL_CHAT 0x0001
45 #define DEBUGLEVEL_DUMP 0x0002
46 #define DEBUGLEVEL_TRACE 0x0004
47 #define DEBUGLEVEL_PPMSG 0x0008
48 #define DEBUGLEVEL_PPLEX 0x0010
49 #define DEBUGLEVEL_PPTRACE 0x0020
52 extern int create_res
;
53 extern int extensions
;
57 extern int preprocess_only
;
58 extern int no_preprocess
;
60 extern char *output_name
;
61 extern char *input_name
;
65 extern int line_number
;
66 extern int char_number
;
68 extern resource_t
*resource_top
;
69 extern language_t
*currentlanguage
;