File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3737
3838#include "types.h"
3939
40+ /* ************************************************************************** *
41+ *
42+ * Global Variables Exported
43+ *
44+ **************************************************************************** */
45+
46+ /* For "special function" identification */
47+ extern u16 * double_lit_code ;
48+
49+
4050/* ************************************************************************** *
4151 *
4252 * Function Prototypes / Functions Exported:
Original file line number Diff line number Diff line change 3535
3636#include "types.h"
3737
38+ /* Structure of an entry in a token-table
39+ * Consists of:
40+ * (1) Name of the token
41+ * (2) FCode of the token
42+ * (3) Link-pointer to previous entry.
43+ */
44+
45+ typedef struct token {
46+ char * name ;
47+ u16 fcode ;
48+ struct token * prev ;
49+ } token_t ;
50+
51+ /* Macro for creating an entry in a token-table data-array */
52+ #define TOKEN_ENTRY (num , name ) { name, (u16)num, (token_t *)NULL }
53+
54+
3855/* Prototypes for functions exported from
3956 * detok.c decode.c printformats.c pcihdr.c and dictionary.c
4057 */
4158
59+ void link_token (token_t * curr_token );
4260void add_token (u16 number , char * name );
4361void init_dictionary (void );
4462void reset_dictionary (void );
You can’t perform that action at this time.
0 commit comments