From 10a442350d10ff0ed606fcd573a6f4caf9b47f1a Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Sat, 12 Jun 2004 14:40:37 +0000 Subject: recognition of ALF in listings. --- mixlib/xmix_parser.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'mixlib/xmix_parser.h') diff --git a/mixlib/xmix_parser.h b/mixlib/xmix_parser.h index d2b3edc..2621eb1 100644 --- a/mixlib/xmix_parser.h +++ b/mixlib/xmix_parser.h @@ -37,6 +37,8 @@ struct mix_parser_t guint cur_ls; /* current literal string symbol */ GHashTable *future_refs; /* a map from symbol name to list of addresses */ GTree *ins_table; /* a table of compiled instructions */ + GSList *con_list; /* CON instructions */ + GSList *alf_list; /* ALF instructions */ mix_address_t loc_count; /* current memory location during compilation */ mix_parser_err_t status; /* outcome of compilation */ guint err_line; /* line of the last error */ @@ -94,7 +96,8 @@ extern void mix_parser_add_ins (mix_parser_t *parser, const mix_ins_t *new_ins, guint lineno); extern void -mix_parser_add_raw (mix_parser_t *parser, mix_word_t word, guint lineno); +mix_parser_add_raw (mix_parser_t *parser, mix_word_t word, guint lineno, + gboolean is_con); /* Error handling */ extern void -- cgit v1.2.3