comparison 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
comparison
equal deleted inserted replaced
432:58cafa61ab40 433:b1adf549d181
163 163
164 // carry DP value forward 164 // carry DP value forward
165 cl -> dpval = cl -> prev -> dpval; 165 cl -> dpval = cl -> prev -> dpval;
166 166
167 } 167 }
168 debug_message(as, 100, "Line pointer: %p", cl);
168 if (!lc && strcmp(cl -> linespec, cl -> prev -> linespec)) 169 if (!lc && strcmp(cl -> linespec, cl -> prev -> linespec))
169 lc = 1; 170 lc = 1;
170 if (lc) 171 if (lc)
171 { 172 {
172 cl -> lineno = lc; 173 cl -> lineno = lc;