libsyntax: Parse visibility modifiers before foreign items

This commit is contained in:
Patrick Walton 2012-09-27 11:52:36 -07:00
parent 7e7411e620
commit 0bcb3bc536
3 changed files with 15 additions and 8 deletions

View file

@ -1485,7 +1485,8 @@ type foreign_item =
attrs: ~[attribute],
node: foreign_item_,
id: node_id,
span: span};
span: span,
vis: visibility};
#[auto_serialize]
enum foreign_item_ {