aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/util/lua/llex.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sword25/util/lua/llex.cpp')
-rw-r--r--engines/sword25/util/lua/llex.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/sword25/util/lua/llex.cpp b/engines/sword25/util/lua/llex.cpp
index 423f0285ca..ebda9ffbdf 100644
--- a/engines/sword25/util/lua/llex.cpp
+++ b/engines/sword25/util/lua/llex.cpp
@@ -377,8 +377,10 @@ static int llex (LexState *ls, SemInfo *seminfo) {
read_long_string(ls, seminfo, sep);
return TK_STRING;
}
- else if (sep == -1) return '[';
- else luaX_lexerror(ls, "invalid long string delimiter", TK_STRING);
+ else if (sep == -1)
+ return '[';
+ luaX_lexerror(ls, "invalid long string delimiter", TK_STRING);
+ break;
}
case '=': {
next(ls);