diff lwasm/pass1.c @ 360:7d91ab7ac7d6

Indexed stage 2; set line structure to track pragmas in effect for that line
author lost@starbug
date Thu, 01 Apr 2010 18:39:40 -0600
parents 60568b123281
children d96c30e60ddf
line wrap: on
line diff
--- a/lwasm/pass1.c	Wed Mar 31 21:57:45 2010 -0600
+++ b/lwasm/pass1.c	Thu Apr 01 18:39:40 2010 -0600
@@ -85,6 +85,7 @@
 		cl -> as = as;
 		cl -> inmod = as -> inmod;
 		cl -> csect = as -> csect;
+		cl -> pragmas = as -> pragmas;
 		if (!as -> line_tail)
 		{
 			as -> line_head = cl;