From cbada2b920782bdfd2f18ef88c09e24ae4840f4a Mon Sep 17 00:00:00 2001 From: Bruce Wells Date: Sat, 28 May 2022 16:02:04 -0400 Subject: Space should end open numbers (#113) --- src/NXP/Classes/Tokenizer.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/NXP/Classes/Tokenizer.php b/src/NXP/Classes/Tokenizer.php index af041c1..a74bff6 100644 --- a/src/NXP/Classes/Tokenizer.php +++ b/src/NXP/Classes/Tokenizer.php @@ -124,6 +124,8 @@ class Tokenizer continue 2; case ' ' == $ch || "\n" == $ch || "\r" == $ch || "\t" == $ch: + $this->emptyNumberBufferAsLiteral(); + $this->emptyStrBufferAsVariable(); $this->tokens[] = new Token(Token::Space, ''); continue 2; -- cgit v1.2.3