diff options
Diffstat (limited to 'src/parser/grammar/attributes.rs')
-rw-r--r-- | src/parser/grammar/attributes.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser/grammar/attributes.rs b/src/parser/grammar/attributes.rs index 92dfb99ef..7f1c0401a 100644 --- a/src/parser/grammar/attributes.rs +++ b/src/parser/grammar/attributes.rs | |||
@@ -1,7 +1,7 @@ | |||
1 | use super::*; | 1 | use super::*; |
2 | 2 | ||
3 | pub(super) fn inner_attributes(p: &mut Parser) { | 3 | pub(super) fn inner_attributes(p: &mut Parser) { |
4 | while p.at([POUND, EXCL]) { | 4 | while p.current() == POUND && p.nth(1) == EXCL { |
5 | attribute(p, true) | 5 | attribute(p, true) |
6 | } | 6 | } |
7 | } | 7 | } |