summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenny Shields <mail@kennyshields.net>2016-07-09 18:50:06 -0400
committerKenny Shields <mail@kennyshields.net>2016-07-09 18:50:06 -0400
commit8ecde3a5a3f7e80b8352311b0a302e5dba6be60a (patch)
tree7d08944dcaab8327ab225984caf78fe77bcd66b3
parent339eed063d8f0fdd72336fce39556f68df7091cf (diff)
downloadstp-8ecde3a5a3f7e80b8352311b0a302e5dba6be60a.tar.gz
stp-8ecde3a5a3f7e80b8352311b0a302e5dba6be60a.zip
Check if line is empty before calling checkNamed function
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index 9de2758..e06a7f7 100644
--- a/init.lua
+++ b/init.lua
@@ -137,7 +137,7 @@ local function parseLine(line)
end
end
else
- if token_current then
+ if token_current and line ~= "" then
checkNamed(line)
end
end