diff --git a/sources/Text/Parser.uc b/sources/Text/Parser.uc index ebc87f5..8080415 100644 --- a/sources/Text/Parser.uc +++ b/sources/Text/Parser.uc @@ -444,7 +444,9 @@ public final function Parser Skip(optional out int whitespacesAmount) { whitespacesAmount += 1; } - ShiftPointer(whitespacesAmount); + if (whitespacesAmount > 0) { + ShiftPointer(whitespacesAmount); + } return self; } @@ -610,8 +612,7 @@ public final function Parser MUnsignedInteger * Any passed value is discarded. * @return Returns the calling object, to allow for function chaining. */ -public final function Parser MEscapedSequence -( +public final function Parser MEscapedSequence( out Text.Character denotedCharacter ) { diff --git a/sources/Text/Tests/TEST_Parser.uc b/sources/Text/Tests/TEST_Parser.uc index d460a7a..85f64a8 100644 Binary files a/sources/Text/Tests/TEST_Parser.uc and b/sources/Text/Tests/TEST_Parser.uc differ