From 222d6b63f714eb673e5772869dce9e22a9a72bad Mon Sep 17 00:00:00 2001 From: Lag Date: Wed, 28 Aug 2019 11:15:15 +0200 Subject: [PATCH] changelog --- CHANGELOG.md | 2 +- babelfish.lua | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) 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