summaryrefslogtreecommitdiff
path: root/perly.y
diff options
context:
space:
mode:
authorGerard Goossen <gerard@tty.nl>2007-05-08 19:42:45 +0200
committerDave Mitchell <davem@fdisolutions.com>2007-05-12 22:44:02 +0000
commitdde833314f5826ee54c52d1baaca343300ee23fd (patch)
treea85f5264106fb87b58cfad478baeb9cd2301e474 /perly.y
parentfb2b694ac153e3b2b3f9e40df708ecd1973cbf38 (diff)
downloadperl-dde833314f5826ee54c52d1baaca343300ee23fd.tar.gz
Give the 'local' declarator a new key, such that 'local our'
declaration don't have multiple 'd' keys. Subject: [PATCH] mad: different key for the locale declarator Message-Id: <20070508171125.GI17043@ostwald> p4raw-id: //depot/perl@31208
Diffstat (limited to 'perly.y')
-rw-r--r--perly.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/perly.y b/perly.y
index 33b269ada1..9960c97319 100644
--- a/perly.y
+++ b/perly.y
@@ -1083,7 +1083,7 @@ term : termbinop
{ $$ = $1; }
| LOCAL term %prec UNIOP
{ $$ = localize($2,IVAL($1));
- TOKEN_GETMAD($1,$$,'d');
+ TOKEN_GETMAD($1,$$,'k');
}
| '(' expr ')'
{ $$ = sawparens(IF_MAD(newUNOP(OP_NULL,0,$2), $2));