diff --git a/trunk_parser/src/parser/mod.rs b/trunk_parser/src/parser/mod.rs index 4831f47..218fcc2 100644 --- a/trunk_parser/src/parser/mod.rs +++ b/trunk_parser/src/parser/mod.rs @@ -133,6 +133,8 @@ impl Parser { } fn statement(&mut self) -> ParseResult { + self.skip_comments(); + Ok(match &self.current.kind { TokenKind::InlineHtml(html) => { let s = Statement::InlineHtml(html.to_string());