Skip to content

Commit

Permalink
wgsl: Make semicolon after struct decl optional
Browse files Browse the repository at this point in the history
  • Loading branch information
stshine committed Mar 27, 2022
1 parent cf992a9 commit 4f9fb28
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/front/wgsl/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4228,7 +4228,6 @@ impl Parser {
type_span,
);
self.lookup_type.insert(name.to_owned(), ty);
lexer.expect(Token::Separator(';'))?;
}
(Token::Word("type"), _) => {
let name = lexer.next_ident()?;
Expand Down

0 comments on commit 4f9fb28

Please sign in to comment.