summaryrefslogtreecommitdiff
path: root/perly.tab
diff options
context:
space:
mode:
authorZefram <zefram@fysh.org>2010-12-11 20:38:16 +0000
committerZefram <zefram@fysh.org>2010-12-12 08:34:44 +0000
commit09b1cffef8cddfec3f726ac733cd648d5b6c28c6 (patch)
tree1592bd93f97b4bfba0b3f9751475acddff8888c7 /perly.tab
parentaa93e3ab0fc02f21191620115a7249537d740cd6 (diff)
downloadperl-09b1cffef8cddfec3f726ac733cd648d5b6c28c6.tar.gz
rename some grammar productions for clarity
Some of the names for types of expression were misleading. Rename "listexpr"->"optlistexpr", "listexprcom"->"optexpr", and "argexpr"->"listexpr" to make them more accurately descriptive and more consistent.
Diffstat (limited to 'perly.tab')
-rw-r--r--perly.tab4
1 files changed, 2 insertions, 2 deletions
diff --git a/perly.tab b/perly.tab
index 1df760efdc..22d84133aa 100644
--- a/perly.tab
+++ b/perly.tab
@@ -219,9 +219,9 @@ static const char *const yytname[] =
"@7", "@8", "sideff", "else", "cont", "mintro", "nexpr", "texpr",
"iexpr", "mexpr", "mnexpr", "miexpr", "label", "formname", "startsub",
"startanonsub", "startformsub", "subname", "proto", "subattrlist",
- "myattrlist", "subbody", "expr", "argexpr", "listop", "@9", "method",
+ "myattrlist", "subbody", "expr", "listexpr", "listop", "@9", "method",
"subscripted", "termbinop", "termunop", "anonymous", "termdo", "term",
- "myattrterm", "myterm", "listexpr", "listexprcom", "lpar_or_qw", "@10",
+ "myattrterm", "myterm", "optlistexpr", "optexpr", "lpar_or_qw", "@10",
"my_scalar", "amper", "scalar", "ary", "hsh", "arylen", "star",
"indirob", 0
};