aboutsummaryrefslogtreecommitdiff
path: root/tools/autodebugger_js.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/autodebugger_js.py')
-rw-r--r--tools/autodebugger_js.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/autodebugger_js.py b/tools/autodebugger_js.py
index 3f8818c6..1de837f0 100644
--- a/tools/autodebugger_js.py
+++ b/tools/autodebugger_js.py
@@ -33,7 +33,7 @@ for i in range(len(lines)):
(' else' not in lines[i-1] or '{' in lines[i-1]) and \
(' else' not in lines[i+1] or '{' in lines[i+1]):
var = m.groups(1)[0].rstrip().split(' ')[-1]
- if 'STACKTOP' not in lines[i] and 'stackBase' not in lines[i]:
+ if 'STACKTOP' not in lines[i] and 'sp' not in lines[i]:
#lines[i] += ''' print("[%4d] %s = " + %s);''' % (i+1, var, var)
lines[i] += ''' print("%s = " + %s);''' % (var, var)
m = re.match('^ +HEAP.*$', lines[i])