This commit is contained in:
2024-08-04 20:25:12 -03:00
parent b1c8793ded
commit 08347b600f
3 changed files with 4 additions and 4 deletions

View File

@ -40,12 +40,12 @@ module Tartrazine
states_to_push.each do |state|
if state == "#pop"
# Pop the state
Log.trace { "Popping state"}
Log.trace { "Popping state" }
lexer.state_stack.pop
else
# Really push
lexer.state_stack << state
Log.trace {"Pushed #{lexer.state_stack}"}
Log.trace { "Pushed #{lexer.state_stack}" }
end
end
[] of Token