aboutsummaryrefslogtreecommitdiff
path: root/emlink.py
diff options
context:
space:
mode:
Diffstat (limited to 'emlink.py')
-rw-r--r--emlink.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/emlink.py b/emlink.py
index 192285cd..7feb989a 100644
--- a/emlink.py
+++ b/emlink.py
@@ -124,7 +124,7 @@ class AsmModule():
main_imports = set(main.imports)
new_imports = [imp for imp in self.imports if imp not in main_imports and
imp.split('var ')[1].split('=')[0] not in main_funcs] # a previous import may now be implemented # TODO: reverse
- main.imports_js += '\n'.join(new_imports)
+ main.imports_js += '\n'.join(new_imports) + '\n'
# sendings: add invokes for new tables
new_sendings = []