From 1be4e129c8073b95559e19c3fdba74371db51c61 Mon Sep 17 00:00:00 2001 From: GGG Date: Sat, 24 Jun 2023 21:39:12 +0000 Subject: [PATCH] Remove unnecessary blank spaces. --- src/Compilers/Lua/Portable/Parser/Lexer.ShortString.cs | 2 +- src/Compilers/Lua/Test/Portable/Lexical/LexicalTestData.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Compilers/Lua/Portable/Parser/Lexer.ShortString.cs b/src/Compilers/Lua/Portable/Parser/Lexer.ShortString.cs index cb827352..59cad25f 100644 --- a/src/Compilers/Lua/Portable/Parser/Lexer.ShortString.cs +++ b/src/Compilers/Lua/Portable/Parser/Lexer.ShortString.cs @@ -137,7 +137,7 @@ private string ParseShortString() { if (_options.SyntaxOptions.AcceptInvalidEscapes && !_options.SyntaxOptions.AcceptUnicodeEscape) goto default; - + TextWindow.AdvanceChar(); var parsed = parseUnicodeEscape(escapeStart); _builder.Append(parsed); diff --git a/src/Compilers/Lua/Test/Portable/Lexical/LexicalTestData.cs b/src/Compilers/Lua/Test/Portable/Lexical/LexicalTestData.cs index dadbcafd..b73fa28d 100644 --- a/src/Compilers/Lua/Test/Portable/Lexical/LexicalTestData.cs +++ b/src/Compilers/Lua/Test/Portable/Lexical/LexicalTestData.cs @@ -292,7 +292,7 @@ public static IEnumerable GetTokens(LuaSyntaxOptions options) if (options.AcceptHexEscapesInStrings || !options.AcceptInvalidEscapes) { shortStringContentValue = shortStringContentValue.Replace("xFxFF", "\xF\xFF"); - } + } if (options.AcceptUnicodeEscape || !options.AcceptInvalidEscapes) {