aboutsummaryrefslogtreecommitdiff
path: root/tools/asm_module.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/asm_module.py')
-rw-r--r--tools/asm_module.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/asm_module.py b/tools/asm_module.py
index e54cfc21..bf7fa71d 100644
--- a/tools/asm_module.py
+++ b/tools/asm_module.py
@@ -49,7 +49,7 @@ class AsmModule():
# tables and exports
post_js = self.js[self.end_funcs:self.end_asm]
- ret = post_js.find('return')
+ ret = post_js.find('return ')
self.tables_js = post_js[:ret]
self.exports_js = post_js[ret:]
self.tables = self.parse_tables(self.tables_js)