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/xmix_parser.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'mixlib/xmix_parser.h') diff --git a/mixlib/xmix_parser.h b/mixlib/xmix_parser.h index bbcd108..2584be7 100644 --- a/mixlib/xmix_parser.h +++ b/mixlib/xmix_parser.h @@ -56,6 +56,10 @@ typedef struct ins_node_ /* functions to manipulate mix_parser_t during compilation */ + +/* access loc counter */ +#define get_ploc_(parser) ((parser)->loc_count) + /* symbol table */ /* Define a new symbol with given value * and update previously set refs to this symbol @@ -76,7 +80,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 */ extern 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); /* Literal strings symbols */ extern void -- cgit v1.2.3