Skip to content

Commit 32919d6

Browse files
committed
Lint
1 parent 3ce02f3 commit 32919d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/regexp_parser/lexer.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ def lex(input, syntax = nil, options: nil, collect_tokens: true, &block)
3939
if (last = prev_token) &&
4040
type == :quantifier &&
4141
(
42-
last.type == :literal && (parts = break_literal(last)) ||
43-
last.token == :codepoint_list && (parts = break_codepoint_list(last))
42+
(last.type == :literal && (parts = break_literal(last))) ||
43+
(last.token == :codepoint_list && (parts = break_codepoint_list(last)))
4444
)
4545
emit(parts[0])
4646
last = parts[1]

0 commit comments

Comments
 (0)