fix(frontends/lean/builtin_exprs): bug when parsing in quoted names
This commit is contained in:
parent
f73506256c
commit
837915f06b
1 changed files with 1 additions and 1 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue