diff options
| author | Paul Stansifer <paul.stansifer@gmail.com> | 2012-05-21 10:45:56 -0700 |
|---|---|---|
| committer | Paul Stansifer <paul.stansifer@gmail.com> | 2012-06-15 12:41:41 -0700 |
| commit | 473b1ec0a09db8aee9fde61a55cbe5074422c91f (patch) | |
| tree | 168884b1cb6e5718aac4110ecc42f090ce28407c /src/libsyntax/parse/attr.rs | |
| parent | b6ed1de29e3092a061ed5f64ba560f6814b6d25a (diff) | |
| download | rust-473b1ec0a09db8aee9fde61a55cbe5074422c91f.tar.gz rust-473b1ec0a09db8aee9fde61a55cbe5074422c91f.zip | |
Make token trees parseable.
Diffstat (limited to 'src/libsyntax/parse/attr.rs')
| -rw-r--r-- | src/libsyntax/parse/attr.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsyntax/parse/attr.rs b/src/libsyntax/parse/attr.rs index cddf8de479b..dad180847ee 100644 --- a/src/libsyntax/parse/attr.rs +++ b/src/libsyntax/parse/attr.rs @@ -24,6 +24,7 @@ impl parser_attr for parser { ret some(left([first_attr] + self.parse_outer_attributes())); } else if !(self.look_ahead(1u) == token::LT || self.look_ahead(1u) == token::LBRACKET + || self.look_ahead(1u) == token::POUND || expect_item_next) { self.bump(); ret some(right(self.parse_syntax_ext_naked(lo))); |
