-rw-r--r-- | scripts/kconfig/cml1.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/scripts/kconfig/cml1.h b/scripts/kconfig/cml1.h new file mode 100644 index 0000000..4a6d977 --- a/dev/null +++ b/scripts/kconfig/cml1.h | |||
@@ -0,0 +1,36 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org> | ||
3 | * Released under the terms of the GNU GPL v2.0. | ||
4 | */ | ||
5 | |||
6 | #ifndef CML1_H | ||
7 | #define CML1_H | ||
8 | |||
9 | #include <stdio.h> | ||
10 | #ifndef YYBISON | ||
11 | #include "cml1.tab.h" | ||
12 | #endif | ||
13 | #define CML1 | ||
14 | #define WORD T_WORD | ||
15 | #define prop stmt | ||
16 | #define property statement | ||
17 | #include "expr.h" | ||
18 | |||
19 | struct symbol *lookup_symbol(char *name, int type); | ||
20 | struct symbol *lookup_symbol_ref(char *name); | ||
21 | |||
22 | void new_string(void); | ||
23 | void append_string(const char *str, int size); | ||
24 | extern char *text; | ||
25 | |||
26 | extern int cml1debug; | ||
27 | extern int cml1parse(void); | ||
28 | extern void helplex(char *help); | ||
29 | |||
30 | extern void scan_init(char *name); | ||
31 | extern void print_files(FILE *out, const char *name); | ||
32 | extern void optimize_config(void); | ||
33 | |||
34 | void fprint_expr(FILE *out, struct expr *e, int prevtoken); | ||
35 | |||
36 | #endif /* CML1_H */ | ||