Fix comment

This commit is contained in:
Roberto Alsina 2024-08-15 23:56:52 -03:00
parent 1f01146b1f
commit 788577b226

View File

@ -122,7 +122,7 @@ module Tartrazine
new_lexer = lexer.copy new_lexer = lexer.copy
new_lexer.tokenize(String.new(match[match_group].value), secondary: true) new_lexer.tokenize(String.new(match[match_group].value), secondary: true)
when ActionType::Combined when ActionType::Combined
# Combine two states into one anonymous state # Combine two or more states into one anonymous state
new_state = @states.map { |name| new_state = @states.map { |name|
lexer.states[name] lexer.states[name]
}.reduce { |state1, state2| }.reduce { |state1, state2|