mirror of
https://github.com/ralsina/tartrazine.git
synced 2024-11-12 22:42:23 +00:00
Added TODO
This commit is contained in:
parent
99e1e2b0cb
commit
f80869db1f
@ -84,6 +84,7 @@ module Tartrazine
|
||||
when "token"
|
||||
raise Exception.new "Can't have a token without a match" if match.nil?
|
||||
[Token.new(type: xml["type"], value: match[0])]
|
||||
# TODO handle #push #push:n #pop and multiple states
|
||||
when "push"
|
||||
puts "Pushing state #{xml["state"]}"
|
||||
lexer.state_stack << xml["state"]
|
||||
|
Loading…
Reference in New Issue
Block a user