fix(frontends/lean/parser): avoid nontermination
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
8cdf44b87b
commit
ec3743dede
1 changed files with 3 additions and 0 deletions
|
@ -848,16 +848,19 @@ expr parser::parse_id() {
|
|||
|
||||
expr parser::parse_numeral_expr() {
|
||||
// TODO(Leo)
|
||||
next(); // to avoid loop
|
||||
return expr();
|
||||
}
|
||||
|
||||
expr parser::parse_decimal_expr() {
|
||||
// TODO(Leo)
|
||||
next(); // to avoid loop
|
||||
return expr();
|
||||
}
|
||||
|
||||
expr parser::parse_string_expr() {
|
||||
// TODO(Leo)
|
||||
next(); // to avoid loop
|
||||
return expr();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue