summaryrefslogtreecommitdiffstats
path: root/src/Lexer.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Lexer.php')
-rw-r--r--src/Lexer.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/Lexer.php b/src/Lexer.php
index 627763b..918bdf6 100644
--- a/src/Lexer.php
+++ b/src/Lexer.php
@@ -391,9 +391,8 @@ class Lexer extends Core
if ($lastSpace) {
--$j; // The size of the keyword didn't increase.
continue;
- } else {
- $lastSpace = true;
}
+ $lastSpace = true;
} else {
$lastSpace = false;
}
@@ -453,9 +452,8 @@ class Lexer extends Core
if ($lastSpace) {
--$j; // The size of the keyword didn't increase.
continue;
- } else {
- $lastSpace = true;
}
+ $lastSpace = true;
} elseif ($this->str[$this->last] === ':') {
$token .= $this->str[$this->last];
$ret = new Token($token, Token::TYPE_LABEL);