mirror of
https://github.com/AleoHQ/leo.git
synced 2024-11-28 19:23:24 +03:00
fix master merge
This commit is contained in:
parent
e4d135d2a8
commit
78b4f39b5a
@ -309,7 +309,7 @@ impl ParserContext {
|
||||
/// Otherwise, tries to parse the next token using [`parse_cast_expression`].
|
||||
///
|
||||
pub fn parse_exponential_expression(&mut self) -> SyntaxResult<Expression> {
|
||||
let mut exprs = vec![self.parse_cast_expression()?];
|
||||
let mut exprs = vec![];
|
||||
exprs.push(self.parse_cast_expression()?);
|
||||
while self.eat(Token::Exp).is_some() {
|
||||
exprs.push(self.parse_cast_expression()?);
|
||||
|
Loading…
Reference in New Issue
Block a user