summaryrefslogtreecommitdiffhomepage
path: root/mixlib/xmix_parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'mixlib/xmix_parser.h')
-rw-r--r--mixlib/xmix_parser.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/mixlib/xmix_parser.h b/mixlib/xmix_parser.h
index fee385c..bbcd108 100644
--- a/mixlib/xmix_parser.h
+++ b/mixlib/xmix_parser.h
@@ -57,6 +57,12 @@ typedef struct ins_node_
/* functions to manipulate mix_parser_t during compilation */
/* symbol table */
+/* Define a new symbol with given value
+ * and update previously set refs to this symbol
+ */
+extern mix_parser_err_t
+mix_parser_define_symbol_value (mix_parser_t *parser, const gchar *name,
+ mix_word_t value);
/* Define a new symbol with value equal to the current loc_count
* and update previously set refs to this symbol