6 /*------------------------------------------------------------------------------------------------*/
7 #include "namespace/input.h"
8 #include "namespace/keyword.h"
9 #include "namespace/keyword_list.h"
10 /*------------------------------------------------------------------------------------------------*/
14 /* memory block containing the entire input */
17 /* the C code from the declarations section */
18 u8
*verbatim_declarations
;
19 u8
*verbatim_declarations_end
;
20 u32 verbatim_declarations_lineno
;
21 /* the C code from the end of the file */
23 u8
*verbatim_code_end
;
24 u32 verbatim_code_lineno
;
25 /* declaration of struct type for a keyword and its attributes */
27 u32 struct_decl_lineno
;
28 /* return type of the lookup function */
30 /* shorthand for user-defined struct tag type */
32 /* list of all keywords */
33 struct Keyword_List
*head
;
34 /* whether the keyword chars would have different values in a different character set */
35 bool charset_dependent
;
36 /*}}} public -- END */
39 /*}}} prived -- END */
42 /*{{{ public static methods */
43 static struct Input
*input_new(FILE *stream
);
44 static void input_read(struct Input
*t
);
45 /*}}} public static methos -- END */
46 /*------------------------------------------------------------------------------------------------*/
48 #include "namespace/input.h"
49 #include "namespace/keyword.h"
50 #include "namespace/keyword_list.h"
52 /*------------------------------------------------------------------------------------------------*/