Skip to content

Commit f1e1a0b

Browse files
committed
Fixing expref parsing
1 parent cf6c818 commit f1e1a0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Parser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ private function nud_literal()
129129
private function nud_expref()
130130
{
131131
$this->next();
132-
return ['type' => 'expref', 'children' => [$this->expr(2)]];
132+
return ['type' => 'expref', 'children' => [$this->expr(self::$bp['expref'])]];
133133
}
134134

135135
private function nud_lbrace()

0 commit comments

Comments
 (0)