diff options
author | Bruce Wells <brucekwells@gmail.com> | 2022-05-28 23:02:04 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-28 23:02:04 +0300 |
commit | cbada2b920782bdfd2f18ef88c09e24ae4840f4a (patch) | |
tree | 73c3405cb2ba06022fb9c61e5bbeb3cf3ccc61e3 /src/NXP/Classes/Tokenizer.php | |
parent | d1b060749e58a09bc437f85152d54e40c163efb0 (diff) |
Space should end open numbers (#113)v2.2.2
Diffstat (limited to 'src/NXP/Classes/Tokenizer.php')
-rw-r--r-- | src/NXP/Classes/Tokenizer.php | 2 |
1 files changed, 2 insertions, 0 deletions
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; |