about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorPhilipp Brüschweiler <blei42@gmail.com>2012-10-09 11:59:03 +0200
committerTim Chevalier <chevalier@alum.wellesley.edu>2012-10-17 15:34:55 -0700
commite7e1bab27fa8341467b5160506bbd580b5f6bbb7 (patch)
treee0196fb2e0cc360308cd39be558fce7c7112d4ba /src/rustllvm/RustWrapper.cpp
parent7dde840dc6b077974d48ae7c966ea16a0e36f3f6 (diff)
downloadrust-e7e1bab27fa8341467b5160506bbd580b5f6bbb7.tar.gz
rust-e7e1bab27fa8341467b5160506bbd580b5f6bbb7.zip
libsyntax: refactor the parser to consider foreign items as items
parse_item_or_view_item() would drop visibility if none of the conditions
following it would hold. This was the case when parsing extern {} blocks,
where the function was only used to parse view items, but discarded the
visibility of the first not-view item.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions