From 4e7cea803cae425df4fcce1c00f9a04d06841d1e Mon Sep 17 00:00:00 2001 From: Discookie Date: Thu, 15 Jun 2017 21:46:35 +0200 Subject: [PATCH] Fixed ID Display bug --- luam.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/luam.cpp b/luam.cpp index 001e177..d4fc20f 100644 --- a/luam.cpp +++ b/luam.cpp @@ -196,8 +196,8 @@ void parseFile(string name, string path, string indent, int isComment, int depth string localindent = currentIndent; int typecode = isSingleApo * IC_SINGLE_APO + isDoubleApo * IC_DOUBLE_APO + isBlock * IC_BLOCK_COMMENT + isInlineComment * IC_INLINE_COMMENT; if (typecode == 0) typecode = (!indentOnly || i+1 < line.size()) * IC_FUNCTION; - parseFile(localname, localpath, localindent, typecode, depth+1); if (!quiet) cout << " (ID" << typecode << ")"; + parseFile(localname, localpath, localindent, typecode, depth+1); } else { indentOnly = false; out << line[i];