Skip to content

Commit

Permalink
Remove unnecessary blank spaces.
Browse files Browse the repository at this point in the history
  • Loading branch information
GGG-KILLER committed Jun 24, 2023
1 parent d3b9569 commit 1be4e12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Compilers/Lua/Portable/Parser/Lexer.ShortString.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion src/Compilers/Lua/Test/Portable/Lexical/LexicalTestData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ public static IEnumerable<ShortToken> GetTokens(LuaSyntaxOptions options)
if (options.AcceptHexEscapesInStrings || !options.AcceptInvalidEscapes)
{
shortStringContentValue = shortStringContentValue.Replace("xFxFF", "\xF\xFF");
}
}

if (options.AcceptUnicodeEscape || !options.AcceptInvalidEscapes)
{
Expand Down

0 comments on commit 1be4e12

Please sign in to comment.