diff lwasm/lwasm.c @ 385:cf8c92d70eb1

Various bugfixes
author lost@starbug
date Sun, 16 May 2010 11:50:00 -0600
parents eacdae8a1575
children a741d2e4869f
line wrap: on
line diff
--- a/lwasm/lwasm.c	Sat May 15 20:46:04 2010 -0600
+++ b/lwasm/lwasm.c	Sun May 16 11:50:00 2010 -0600
@@ -99,8 +99,9 @@
 	{
 	case lwasm_expr_secbase:
 		{
-			line_t *cl = ptr;
-			if (cl -> as -> exportcheck && ptr == cl -> as -> csect)
+//			sectiontab_t *s = priv;
+			asmstate_t *as = priv;
+			if (as -> exportcheck && ptr == as -> csect)
 				return lw_expr_build(lw_expr_type_int, 0);
 			return NULL;
 		}