Fix parsing

This commit is contained in:
d0cd 2023-02-10 11:13:18 -08:00
parent 98c7825833
commit c719489659

View File

@ -156,7 +156,7 @@ impl ParserContext<'_> {
let (id, mapping) = self.parse_mapping()?;
mappings.insert(id, mapping);
}
Token::At | Token::Function | Token::Transition => {
Token::At | Token::Function | Token::Transition | Token::Inline => {
let (id, function) = self.parse_function()?;
functions.insert(id, function);
}
@ -172,6 +172,7 @@ impl ParserContext<'_> {
Token::At,
Token::Function,
Token::Transition,
Token::Inline,
],
)
.into())