Add shadowarg to node list

This commit is contained in:
Markus Schirp 2014-01-10 22:05:32 +01:00
parent 26a6b0a7eb
commit 3647793394
2 changed files with 3 additions and 1 deletions

View file

@ -42,6 +42,7 @@ module Parser
and not or if when case while until while_post
until_post for break next redo return resbody
kwbegin begin retry preexe postexe iflipflop eflipflop
shadowarg
).map(&:to_sym).to_set.freeze
end # Meta
end # Parser

View file

@ -16,7 +16,8 @@ module Mutant
:kwrestarg, :kwoptarg, :kwarg, :undef, :module, :empty,
:alias, :for, :xstr, :back_ref, :class,
:sclass, :match_with_lvasgn, :match_current_line, :while_post,
:until_post, :preexe, :postexe, :iflipflop, :eflipflop, :kwsplat
:until_post, :preexe, :postexe, :iflipflop, :eflipflop, :kwsplat,
:shadowarg
)
private