diff --git a/components/fx/lexer.cpp b/components/fx/lexer.cpp index d42ba46e9d..6140c7375c 100644 --- a/components/fx/lexer.cpp +++ b/components/fx/lexer.cpp @@ -109,6 +109,7 @@ namespace fx if (level == 0) { mHead--; + mLine--; auto sv = std::string_view{ start, static_cast(mHead + 1 - start) }; mLastJumpBlock.content = sv; return sv;