fix(frontends/lean/builtin_exprs): bug when parsing in quoted names

This commit is contained in:
Leonardo de Moura 2016-10-01 13:19:24 -07:00
parent f73506256c
commit 837915f06b

View file

@ -591,7 +591,7 @@ static expr parse_quoted_name(parser & p, unsigned, expr const *, pos_info const
if (p.curr_is_keyword() || p.curr_is_command()) {
if (resolve)
throw parser_error("invalid resolved quote symbol, identifier is a keyword/command", pos);
id = p.get_name_val();
id = p.get_token_info().token();
p.next();
} else {
id = p.check_id_next("invalid quoted name, identifier expected");