Do not create item set following EOF token
This commit is contained in:
parent
08e3516ad9
commit
7bdaf7cdbc
@ -25,8 +25,10 @@ class Imbecile
|
||||
puts item_set
|
||||
puts
|
||||
item_set.follow_symbols.each do |follow_symbol|
|
||||
follow_set = item_set.follow_set(follow_symbol)
|
||||
eval_item_sets << follow_set
|
||||
unless follow_symbol == token_eof
|
||||
follow_set = item_set.follow_set(follow_symbol)
|
||||
eval_item_sets << follow_set
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user