Do not create item set following EOF token

This commit is contained in:
Josh Holtrop 2021-09-05 07:51:59 -04:00
parent 08e3516ad9
commit 7bdaf7cdbc

View File

@ -25,6 +25,7 @@ class Imbecile
puts item_set
puts
item_set.follow_symbols.each do |follow_symbol|
unless follow_symbol == token_eof
follow_set = item_set.follow_set(follow_symbol)
eval_item_sets << follow_set
end
@ -32,6 +33,7 @@ class Imbecile
end
end
end
end
end