lucet-idl: fix parser cases leftover from attrs
@@ -204,9 +204,6 @@ impl<'a> Parser<'a> {
self.consume();
break;
}
- Some(Token::Hash) => {
- self.consume();
- }
Some(Token::Word(member_name)) => {
let location = self.location;
self.consume();
@@ -246,9 +243,6 @@ impl<'a> Parser<'a> {
self.consume();
break;
}
- Some(Token::Hash) => {
- self.consume();
- }
Some(Token::Word(name)) => {
let location = self.location;
self.consume();
@@ -282,9 +276,6 @@ impl<'a> Parser<'a> {
self.consume();
break;
}
- Some(Token::Hash) => {
- self.consume();
- }
Some(Token::Word(name)) => {
let location = self.location;
self.consume();
@@ -322,9 +313,6 @@ impl<'a> Parser<'a> {
self.consume();
break;
}
- Some(Token::Hash) => {
- self.consume();
- }
_ => {
let location = self.location;
let type_ref = self.match_ref("expected type, attribute, or ;")?;
@@ -445,10 +433,6 @@ impl<'a> Parser<'a> {
location,
}));
}
- Some(Token::Hash) => {
- self.consume();
- continue;
- }
Some(_) => {
return parse_err!(
self.location,
