Update changelog

This commit is contained in:
nikic 2012-05-12 14:15:24 +02:00
parent e16513a0eb
commit 3f66b7ecac

View File

@ -1,6 +1,8 @@
Version 0.9.2-dev
-----------------
* Fix parsing of new expressions in parentheses, e.g. `return(new Foo);`.
* [BC] Due to the below changes nodes now optionally accept an `$attributes` array as the
last parameter, instead of the previously used `$line` and `$docComment` parameters.
@ -26,15 +28,15 @@ Version 0.9.2-dev
Now the lexer is injected only once when creating the parser. Instead of
$parser = new PHPParser_Parser;
$parser->parse(new PHPParser_Lexer($code));
$parser->parse(new PHPParser_Lexer($code2));
$parser = new PHPParser_Parser;
$parser->parse(new PHPParser_Lexer($code));
$parser->parse(new PHPParser_Lexer($code2));
you write:
$parser = new PHPParser_Parser(new PHPParser_Lexer);
$parser->parse($code);
$parser->parse($code2);
$parser = new PHPParser_Parser(new PHPParser_Lexer);
$parser->parse($code);
$parser->parse($code2);
* Fix `NameResolver` visitor to also resolve class names in `catch` blocks.