diff options
Diffstat (limited to 'lib/racc/grammar.rb')
-rw-r--r-- | lib/racc/grammar.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/racc/grammar.rb b/lib/racc/grammar.rb index e55785a3a0..cc4e48eed7 100644 --- a/lib/racc/grammar.rb +++ b/lib/racc/grammar.rb @@ -569,7 +569,7 @@ module Racc check_symbols_useless s end until r.size == rs and s.size == ss end - + def check_rules_useless(rules) rules.delete_if do |rule| rule.useless = false @@ -853,7 +853,7 @@ module Racc end private - + def ptr_bug! raise "racc: fatal: pointer not exist: self: #{to_s}" end |