summaryrefslogtreecommitdiff
path: root/perly.y
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2015-02-07 10:06:39 -0800
committerFather Chrysostomos <sprout@cpan.org>2015-02-07 10:06:45 -0800
commit29fa3ed31f733f1b58e89e560fb052897bccefde (patch)
treee9cfe7f34eb1270074e2c9887e283206c3f29130 /perly.y
parent3c47da3c2ebf51f08bb927dfa456939cc6c8c30f (diff)
downloadperl-29fa3ed31f733f1b58e89e560fb052897bccefde.tar.gz
perly.y: Remove types for '$' and '*'
These two tokens never use their value, and the value is not even set in toke.c, which means it will contain a junk value from some previous token. Removing the types prevents that junk value from being acci- dentally used.
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 9f10b8b375..be7a91d364 100644
--- a/perly.y
+++ b/perly.y
@@ -45,7 +45,7 @@
%token <ival> GRAMPROG GRAMEXPR GRAMBLOCK GRAMBARESTMT GRAMFULLSTMT GRAMSTMTSEQ
-%token <ival> '{' '}' '[' ']' '-' '+' '$' '@' '%' '*' '&' ';' '=' '.'
+%token <ival> '{' '}' '[' ']' '-' '+' '@' '%' '&' ';' '=' '.'
%token <opval> WORD METHOD FUNCMETH THING PMFUNC PRIVATEREF QWLIST
%token <opval> FUNC0OP FUNC0SUB UNIOPSUB LSTOPSUB