diff options
Diffstat (limited to 'src/yuescript/yue_parser.cpp')
-rw-r--r-- | src/yuescript/yue_parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuescript/yue_parser.cpp b/src/yuescript/yue_parser.cpp index 93787cd..d7af780 100644 --- a/src/yuescript/yue_parser.cpp +++ b/src/yuescript/yue_parser.cpp | |||
@@ -1167,7 +1167,7 @@ std::string ParseInfo::errorMessage(std::string_view msg, int errLine, int errCo | |||
1167 | } | 1167 | } |
1168 | auto line = Converter{}.to_bytes(std::wstring(begin, end)); | 1168 | auto line = Converter{}.to_bytes(std::wstring(begin, end)); |
1169 | while (col < static_cast<int>(line.size()) | 1169 | while (col < static_cast<int>(line.size()) |
1170 | && (line[col] == ' ' || line[col] == '\t')) { | 1170 | && (line[col] == ' ' || line[col] == '\t')) { |
1171 | col++; | 1171 | col++; |
1172 | } | 1172 | } |
1173 | Utils::replace(line, "\t"sv, " "sv); | 1173 | Utils::replace(line, "\t"sv, " "sv); |