aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers
diff options
context:
space:
mode:
Diffstat (limited to 'lib/compilers')
-rw-r--r--lib/compilers/python.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/compilers/python.js b/lib/compilers/python.js
index 15f42d0b8..ef362732a 100644
--- a/lib/compilers/python.js
+++ b/lib/compilers/python.js
@@ -40,12 +40,12 @@ class PythonCompiler extends BaseCompiler {
const bytecodeLines = result.asm.split("\n");
- var bytecodeResult = [];
- var lastLineNo = null;
- var sourceLoc = null;
+ const bytecodeResult = [];
+ let lastLineNo = null;
+ let sourceLoc = null;
bytecodeLines.forEach(line => {
- var match = line.match(lineRe);
+ const match = line.match(lineRe);
if (match) {
const lineno = parseInt(match[1]);