]> git.lizzy.rs Git - rust.git/commit
auto merge of #6083 : jbclements/rust/parser-cleanup, r=jbclements
authorbors <bors@rust-lang.org>
Mon, 29 Apr 2013 07:12:37 +0000 (00:12 -0700)
committerbors <bors@rust-lang.org>
Mon, 29 Apr 2013 07:12:37 +0000 (00:12 -0700)
commitea74f6845e08150e3b38766f57a4af928aea1376
tree7f595ee292241ed3520742a968e3f5077c687fd5
parent7b7a0fc235cd2e0782302cd6fb83634e190b15b7
parentcce13c18fe2f5c6dcd46f91a264cd99aa77f9135
auto merge of #6083 : jbclements/rust/parser-cleanup, r=jbclements

r? @pcwalton

A month's worth of parser cleanup here. Much of this is new comments and renaming. A number of these commits also remove unneeded code.  Probably the biggest refactor here is splitting "parse_item_or_view_item" into two functions; it turns out that the only overlap between items in foreign modules and items in regular modules was macros, so this refactor should make things substantially easier for future maintenance.
src/libsyntax/opt_vec.rs