diff options
Diffstat (limited to 'mixlib/xmix_parser.h')
-rw-r--r-- | mixlib/xmix_parser.h | 7 |
1 files changed, 6 insertions, 1 deletions
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 |