diff --git a/CHANGELOG.md b/CHANGELOG.md index f0c01293..2c85affe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,5 +6,5 @@ This mod is distributed under Version 2 of the GPL. A copy of the GPL is includ ## v1.1.7-beta (Aug. 27, 2019) -- Translation update +- Translation update from curseforge - Some small fixes diff --git a/babelfish.lua b/babelfish.lua index 423fbe9e..78b09d33 100644 --- a/babelfish.lua +++ b/babelfish.lua @@ -218,6 +218,10 @@ local function ParseLuaFile(fileName) if not oneLineCom and not multiComment then if tmp == IDENTIFIER and c == "[" then start = true + elseif tmp == IDENTIFIER and c ~= "[" then + loc, start, tmp = nil, false, "" + elseif start and c ~= "\"" and not loc then --start + loc, start, tmp = nil, false, "" elseif start and c == "\"" and not loc then --start loc = "" elseif loc and start and c == "\"" and lastC ~= "\\" then