summaryrefslogtreecommitdiff
path: root/perly.y
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2015-02-15 15:41:20 -0800
committerFather Chrysostomos <sprout@cpan.org>2015-02-15 17:28:02 -0800
commitf10ebf6ccbdb32fe334fb04b0a1fd342046d70ee (patch)
tree386fc911040812c813cc55ef38be2edbbffc5ec9 /perly.y
parent4a0c7558cb3dad795591b57e712bedba39bc1c84 (diff)
downloadperl-f10ebf6ccbdb32fe334fb04b0a1fd342046d70ee.tar.gz
perly.y: Remove type from ';'
This token’s type is never used. We don’t bother setting the type, either, in toke.c, so it will be garbage. Removing the type makes it harder to use the garbage value by mistake in refactoring.
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 be7a91d364..4b73977d9f 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