changeset 51:04868fa52a15

Fixed context counting for second pass so local symbols work correctly
author lost
date Sun, 04 Jan 2009 20:14:54 +0000
parents e672232caffe
children b9856da2674a
files src/pass2.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/pass2.c	Sun Jan 04 07:56:55 2009 +0000
+++ b/src/pass2.c	Sun Jan 04 20:14:54 2009 +0000
@@ -35,6 +35,7 @@
 	debug_message(1, "Entering pass 2");
 	as -> passnum = 2;
 	as -> addr = 0;
+	as -> context = 0;
 	
 	// iterate over all the lines and re-parse them
 	for (l = as -> lineshead; l; l = l -> next)