chore(frontends/lean/parser): style
This commit is contained in:
parent
bbc99d4aa5
commit
c62014df7a
1 changed files with 2 additions and 2 deletions
|
|
@ -201,9 +201,9 @@ void parser::check_break_at_pos(break_at_pos_exception::token_context ctxt) {
|
|||
auto p = pos();
|
||||
if (m_break_at_pos && p.first == m_break_at_pos->first && p.second <= m_break_at_pos->second) {
|
||||
name tk;
|
||||
if (curr_is_identifier())
|
||||
if (curr_is_identifier()) {
|
||||
tk = get_name_val();
|
||||
else if (curr_is_command() || curr_is_keyword()) {
|
||||
} else if (curr_is_command() || curr_is_keyword()) {
|
||||
tk = get_token_info().token();
|
||||
// When completing at the end of a token that cannot be extended into an identifier,
|
||||
// start an empty completion instead (in the next call to `check_break_before/at_pos`, using the correct
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue