diff lwasm/lwasm.c @ 345:7416c3f9c321

Basic macro processor ported forward; added context break handling for local symbols
author lost@starbug
date Thu, 25 Mar 2010 23:17:54 -0600
parents 0215a0fbf61b
children a82c55070624
line wrap: on
line diff
--- a/lwasm/lwasm.c	Thu Mar 25 22:06:50 2010 -0600
+++ b/lwasm/lwasm.c	Thu Mar 25 23:17:54 2010 -0600
@@ -77,3 +77,11 @@
 	
 	va_end(args);
 }
+
+int lwasm_next_context(asmstate_t *as)
+{
+	int r;
+	r = as -> nextcontext;
+	as -> nextcontext++;
+	return r;
+}