Merge pull request #96 from Techworker/patch-1

Adjustment to documentation
This commit is contained in:
Nikita Popov 2014-02-21 18:19:28 +01:00
commit 74efea91d1

View File

@ -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 `();`).
construct (not including `();`).