aboutsummaryrefslogtreecommitdiff
path: root/nomsu_compiler.lua
diff options
context:
space:
mode:
Diffstat (limited to 'nomsu_compiler.lua')
-rw-r--r--nomsu_compiler.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/nomsu_compiler.lua b/nomsu_compiler.lua
index 62a71fd..75c6040 100644
--- a/nomsu_compiler.lua
+++ b/nomsu_compiler.lua
@@ -891,7 +891,7 @@ do
nomsu:append(".")
end
local bit_nomsu
- if bit.type == "Text" and #bit == 1 and type(bit[1]) == 'string' and Parser.is_identifier(bit[1]) then
+ if i > 1 and bit.type == "Text" and #bit == 1 and type(bit[1]) == 'string' and Parser.is_identifier(bit[1]) then
bit_nomsu = bit[1]
else
bit_nomsu = recurse(bit, nomsu)