aboutsummaryrefslogtreecommitdiffstats
path: root/lib/racc/parser.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/racc/parser.rb')
-rw-r--r--lib/racc/parser.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/racc/parser.rb b/lib/racc/parser.rb
index 9e6de03dd5..f811ab6e78 100644
--- a/lib/racc/parser.rb
+++ b/lib/racc/parser.rb
@@ -380,7 +380,6 @@ module Racc
_, _, _, _,
_, _, _, shift_n, reduce_n,
_, _, * = arg
- nerr = 0 # tmp
if act > 0 and act < shift_n
#
@@ -431,7 +430,6 @@ module Racc
case @racc_error_status
when 0
unless arg[21] # user_yyerror
- nerr += 1
on_error @racc_t, @racc_val, @racc_vstack
end
when 3