diff options
author | RabsRincon <ruben@rinconblanco.es> | 2020-01-08 13:49:23 +0100 |
---|---|---|
committer | RabsRincon <ruben@rinconblanco.es> | 2020-01-08 13:49:23 +0100 |
commit | 885aee1c63203f5868ac310e8592982f1519454c (patch) | |
tree | 25dc3bffd3a876f59f30e0e6bbcd9655a9da02e7 /lib/compilers/python.js | |
parent | ea25a2a3dbd308f349e48ee2158c80de2fbb1535 (diff) | |
download | compiler-explorer-885aee1c63203f5868ac310e8592982f1519454c.tar.gz compiler-explorer-885aee1c63203f5868ac310e8592982f1519454c.zip |
Remove last remaining vars and fix formatting
Diffstat (limited to 'lib/compilers/python.js')
-rw-r--r-- | lib/compilers/python.js | 8 |
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]); |