diff lwasm/pass1.c @ 433:b1adf549d181

Add some debugging instrumentation for tracking an expression bug There's no reason not to keep the instrumentation so into the repo it goes.
author William Astle <lost@l-w.ca>
date Mon, 23 Jan 2017 22:54:19 -0700
parents 6153cb49403c
children 3d53f2e8d0e0
line wrap: on
line diff
--- a/lwasm/pass1.c	Fri Nov 18 21:25:43 2016 -0700
+++ b/lwasm/pass1.c	Mon Jan 23 22:54:19 2017 -0700
@@ -165,6 +165,7 @@
 			cl -> dpval = cl -> prev -> dpval;
 			
 		}
+		debug_message(as, 100, "Line pointer: %p", cl);
 		if (!lc && strcmp(cl -> linespec, cl -> prev -> linespec))
 			lc = 1;
 		if (lc)