aboutsummaryrefslogtreecommitdiff
path: root/src/NXP
diff options
context:
space:
mode:
Diffstat (limited to 'src/NXP')
-rw-r--r--src/NXP/Classes/Lexer.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/NXP/Classes/Lexer.php b/src/NXP/Classes/Lexer.php
index 63a87b2..3729e48 100644
--- a/src/NXP/Classes/Lexer.php
+++ b/src/NXP/Classes/Lexer.php
@@ -45,7 +45,7 @@ class Lexer
$matches = array();
preg_match_all($this->tokenFactory->getTokenParserRegex(), $input, $matches);
$tokensStream = array_map(
- function ($token) {
+ function ($token) use ($this) {
return $this->tokenFactory->createToken($token);
},
$matches[0]