4 * Copyright (c) 1999 Stephen Williams (steve@icarus.com)
6 * This source code is free software; you can redistribute it
7 * and/or modify it in source code form under the terms of the GNU
8 * General Public License as published by the Free Software
9 * Foundation; either version 2 of the License, or (at your option)
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
22 #ident "$Id: globals.h,v 1.7 2002/08/12 01:35:02 steve Exp $"
27 extern void reset_lexor(FILE*out
, char*paths
[]);
28 extern void define_macro(const char*name
, const char*value
, int keyword
);
30 /* These variables contain the include directories to be searched when
31 an include directive in encountered. */
32 extern char**include_dir
;
33 extern unsigned include_cnt
;
35 /* This flag is true if #line directives are to be generated. */
36 extern int line_direct_flag
;
38 extern unsigned error_count
;
40 extern FILE *depend_file
;
42 /* This is the entry to the parser. */
47 * Revision 1.7 2002/08/12 01:35:02 steve
48 * conditional ident string using autoconfig.
50 * Revision 1.6 2002/04/04 05:26:13 steve
51 * Add dependency generation.
53 * Revision 1.5 2000/09/13 22:33:13 steve
54 * undefined macros are null (with warnings.)
56 * Revision 1.4 2000/08/20 17:49:04 steve
57 * Clean up warnings and portability issues.
59 * Revision 1.3 2000/06/30 15:49:44 steve
60 * Handle errors from parser slightly differently.
62 * Revision 1.2 1999/09/05 22:33:18 steve
63 * Take multiple source files on the command line.
65 * Revision 1.1 1999/07/03 20:03:47 steve
66 * Add include path and line directives.