aboutsummaryrefslogtreecommitdiff
path: root/src/parser/grammar/attributes.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser/grammar/attributes.rs')
-rw-r--r--src/parser/grammar/attributes.rs2
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 @@
1use super::*; 1use super::*;
2 2
3pub(super) fn inner_attributes(p: &mut Parser) { 3pub(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}