00001 /* 00002 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org> 00003 * Released under the terms of the GNU GPL v2.0. 00004 */ 00005 00006 #ifndef CML1_H 00007 #define CML1_H 00008 00009 #include <stdio.h> 00010 #ifndef YYBISON 00011 #include "cml1.tab.h" 00012 #endif 00013 #define CML1 00014 #define WORD T_WORD 00015 #define prop stmt 00016 #define property statement 00017 #include "expr.h" 00018 00019 struct symbol *lookup_symbol(char *name, int type); 00020 struct symbol *lookup_symbol_ref(char *name); 00021 00022 void new_string(void); 00023 void append_string(const char *str, int size); 00024 extern char *text; 00025 00026 extern int cml1debug; 00027 extern int cml1parse(void); 00028 extern void helplex(char *help); 00029 00030 extern void scan_init(char *name); 00031 extern void print_files(FILE *out, const char *name); 00032 extern void optimize_config(void); 00033 00034 void fprint_expr(FILE *out, struct expr *e, int prevtoken); 00035 00036 #endif /* CML1_H */
1.4.2