mirror of
https://github.com/AleoHQ/leo.git
synced 2024-11-13 08:47:17 +03:00
Fix parsing
This commit is contained in:
parent
98c7825833
commit
c719489659
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user