aboutsummaryrefslogtreecommitdiff
path: root/lib/asm.js
diff options
context:
space:
mode:
authorpartouf <partouf@gmail.com>2017-12-20 18:17:54 +0100
committerpartouf <partouf@gmail.com>2017-12-20 18:17:54 +0100
commit8f9ca65a313b1e24f2f312b1401e86a896e8cfd4 (patch)
tree42e7124be233e6d925b6779b829c668d04effe6c /lib/asm.js
parent3a5cdf87e2e3e0bd3259cb60936e569b8d8587cc (diff)
downloadcompiler-explorer-8f9ca65a313b1e24f2f312b1401e86a896e8cfd4.tar.gz
compiler-explorer-8f9ca65a313b1e24f2f312b1401e86a896e8cfd4.zip
undo extra lf
Diffstat (limited to 'lib/asm.js')
-rw-r--r--lib/asm.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/asm.js b/lib/asm.js
index 7757e2311..0aa2140bb 100644
--- a/lib/asm.js
+++ b/lib/asm.js
@@ -92,7 +92,6 @@ function AsmParser(compilerProps) {
var match = line.match(labelDef);
if (match)
currentLabel = match[1];
-
match = line.match(definesGlobal);
if (match) {
labelsUsed[match[1]] = true;
@@ -230,7 +229,6 @@ function AsmParser(compilerProps) {
line = fixLabelIndentation(line);
match = line.match(labelDef);
-
if (!match) match = line.match(assignmentDef);
if (match) {
// It's a label definition.