From cf46fd449bd2b7a6ff41ac174c46af5ac41eb509 Mon Sep 17 00:00:00 2001 From: jaortega Date: Sat, 18 Nov 2000 12:04:24 +0000 Subject: fixed 3H ORIG 3B problem (samples/stress{1,2}.mixal) --- mixlib/mix_parser.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'mixlib/mix_parser.c') diff --git a/mixlib/mix_parser.c b/mixlib/mix_parser.c index 82dd692..1b876ad 100644 --- a/mixlib/mix_parser.c +++ b/mixlib/mix_parser.c @@ -442,7 +442,8 @@ mix_parser_set_future_ref (mix_parser_t *parser, const gchar *name) /* Redefine the value of a local symbol as the current loc_count */ void -mix_parser_manage_local_symbol (mix_parser_t *parser, const gchar *name) +mix_parser_manage_local_symbol (mix_parser_t *parser, const gchar *name, + mix_short_t value) { gchar ref[3]; ref[2] = 0; @@ -459,10 +460,10 @@ mix_parser_manage_local_symbol (mix_parser_t *parser, const gchar *name) ref[0] = name[0]; ref[1] = 'F'; if ( parser->status == MIX_PERR_NOCOMP ) - update_future_refs_ (parser, ref); + update_future_refs_value_ (parser, ref, value); ref[1] = 'B'; mix_symbol_table_insert (parser->symbol_table, ref, - mix_short_to_word_fast (parser->loc_count)); + mix_short_to_word_fast (value)); break; default: return; -- cgit v1.2.3