lib/lrama/states_reporter.rb in lrama-0.5.0 vs lib/lrama/states_reporter.rb in lrama-0.5.1
- old
+ new
@@ -208,11 +208,11 @@
io << " read #{nterm.id.s_value} shift #{str}\n"
end
io << "\n"
- # Reprot reads_relation
+ # Report reads_relation
io << " [Reads Relation]\n"
@states.nterms.each do |nterm|
a = @states.reads_relation[[state.id, nterm.token_id]]
next if !a
@@ -222,11 +222,11 @@
end
end
io << "\n"
- # Reprot read_sets
+ # Report read_sets
io << " [Read sets]\n"
read_sets = @states.read_sets
@states.nterms.each do |nterm|
terms = read_sets[[state.id, nterm.token_id]]
next if !terms
@@ -237,11 +237,11 @@
end
end
io << "\n"
- # Reprot includes_relation
+ # Report includes_relation
io << " [Includes Relation]\n"
@states.nterms.each do |nterm|
a = @states.includes_relation[[state.id, nterm.token_id]]
next if !a
@@ -265,10 +265,10 @@
end
end
io << "\n"
- # Reprot follow_sets
+ # Report follow_sets
io << " [Follow sets]\n"
follow_sets = @states.follow_sets
@states.nterms.each do |nterm|
terms = follow_sets[[state.id, nterm.token_id]]