diff options
author | Zefram <zefram@fysh.org> | 2010-08-23 20:49:45 +0100 |
---|---|---|
committer | Florian Ragwitz <rafl@debian.org> | 2010-08-31 21:40:07 +0200 |
commit | a8812f5e4144abe77e484a03f0f8f3a838c5f319 (patch) | |
tree | bb505383f34a8739095fd4d203ca926f7d30b8d9 /perly.y | |
parent | 42ef68d0ff6e79e15cdacdaaa22748f5d00210b0 (diff) | |
download | perl-a8812f5e4144abe77e484a03f0f8f3a838c5f319.tar.gz |
remove dead listexprcom production from grammar
The third production of <listexprcom>, "expr ','", could never be invoked,
because <expr> can already end with arbitrarily many commas.
Diffstat (limited to 'perly.y')
-rw-r--r-- | perly.y | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -1331,17 +1331,6 @@ listexprcom: /* NULL */ { $$ = (OP*)NULL; } | expr { $$ = $1; } - | expr ',' - { -#ifdef MAD - OP* op = newNULLLIST(); - token_getmad($2,op,','); - $$ = append_elem(OP_LIST, $1, op); -#else - $$ = $1; -#endif - - } ; /* A little bit of trickery to make "for my $foo (@bar)" actually be |