summaryrefslogtreecommitdiffhomepage
path: root/mixlib/xmix_parser.h
diff options
context:
space:
mode:
authorjaortega <jaortega>2000-11-18 12:04:24 +0000
committerjaortega <jaortega>2000-11-18 12:04:24 +0000
commitcf46fd449bd2b7a6ff41ac174c46af5ac41eb509 (patch)
tree275e408fb2835b6b461a327c8af30d0fdf2f8675 /mixlib/xmix_parser.h
parentc70563a847c233deb4ba407c7c52a7ee430e26bc (diff)
downloadmdk-cf46fd449bd2b7a6ff41ac174c46af5ac41eb509.tar.gz
mdk-cf46fd449bd2b7a6ff41ac174c46af5ac41eb509.tar.bz2
fixed 3H ORIG 3B problem (samples/stress{1,2}.mixal)
Diffstat (limited to 'mixlib/xmix_parser.h')
-rw-r--r--mixlib/xmix_parser.h7
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