2002-07-16 03:20:45 +00:00
|
|
|
/*
|
|
|
|
* IDL Compiler
|
|
|
|
*
|
|
|
|
* Copyright 2002 Ove Kaaven
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
2006-05-18 12:49:52 +00:00
|
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
2002-07-16 03:20:45 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __WIDL_PARSER_H
|
|
|
|
#define __WIDL_PARSER_H
|
|
|
|
|
2006-09-12 07:05:07 +00:00
|
|
|
int parser_parse(void);
|
2002-07-16 03:20:45 +00:00
|
|
|
|
2006-09-12 07:05:07 +00:00
|
|
|
extern FILE *parser_in;
|
|
|
|
extern char *parser_text;
|
|
|
|
extern int parser_debug;
|
2002-07-16 03:20:45 +00:00
|
|
|
extern int yy_flex_debug;
|
|
|
|
|
2006-09-12 07:05:07 +00:00
|
|
|
int parser_lex(void);
|
2002-07-16 03:20:45 +00:00
|
|
|
|
|
|
|
extern int import_stack_ptr;
|
2002-11-30 01:49:46 +00:00
|
|
|
int do_import(char *fname);
|
2002-07-16 03:20:45 +00:00
|
|
|
void abort_import(void);
|
2008-04-01 11:47:56 +00:00
|
|
|
void pop_import(void);
|
2002-07-16 03:20:45 +00:00
|
|
|
|
|
|
|
#define parse_only import_stack_ptr
|
|
|
|
|
|
|
|
int is_type(const char *name);
|
|
|
|
|
2021-02-16 19:53:52 +00:00
|
|
|
int do_warning(const char *toggle, warning_list_t *wnum);
|
2016-03-29 20:06:45 +00:00
|
|
|
int is_warning_enabled(int warning);
|
|
|
|
|
2010-01-21 11:56:53 +00:00
|
|
|
extern char *temp_name;
|
|
|
|
|
2002-07-16 03:20:45 +00:00
|
|
|
#endif
|