fix(frontends/lean/parser): avoid nontermination

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2014-07-01 16:46:58 -07:00
parent 8cdf44b87b
commit ec3743dede

View file

@ -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();
}