From 558087399f948493b3c79a83c1fb9c0a62511374 Mon Sep 17 00:00:00 2001 From: Benjamin Ansbach Date: Wed, 19 Feb 2014 23:06:39 +0100 Subject: [PATCH] Adjustment to documentation --- doc/component/Lexer.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/component/Lexer.markdown b/doc/component/Lexer.markdown index 06e4192eee..0f10afa249 100644 --- a/doc/component/Lexer.markdown +++ b/doc/component/Lexer.markdown @@ -100,7 +100,7 @@ class FileLexer extends PhpParser\Lexer { // we could use either $startAttributes or $endAttributes here, because the fileName is always the same // (regardless of whether it is the start or end token). We choose $endAttributes, because it is slightly // more efficient (as the parser has to keep a stack for the $startAttributes). - $endAttributes['fileName'] = $fileName; + $endAttributes['fileName'] = $this->fileName; return $tokenId; } @@ -111,4 +111,4 @@ handleHaltCompiler ------------------ The method is invoked whenever a `T_HALT_COMPILER` token is encountered. It has to return the remaining string after the -construct (not including `();`). \ No newline at end of file +construct (not including `();`).