summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2011-06-03 06:41:48 -0700
committerFather Chrysostomos <sprout@cpan.org>2011-06-03 09:17:14 -0700
commit5a63ceef8d48d5da8deade2d7122a0e51724cfed (patch)
treed9897c2c74d4759fe05c9e75a46a847ada964579
parentd4ddbae879e579fbbe0d210eedbce72f752c3c68 (diff)
downloadperl-5a63ceef8d48d5da8deade2d7122a0e51724cfed.tar.gz
Fix a confusing comment in perly.y
There’s no arrow there.
-rw-r--r--perly.act2
-rw-r--r--perly.h4
-rw-r--r--perly.tab2
-rw-r--r--perly.y2
4 files changed, 5 insertions, 5 deletions
diff --git a/perly.act b/perly.act
index d8a54249fd..32f9b825f7 100644
--- a/perly.act
+++ b/perly.act
@@ -1710,6 +1710,6 @@ case 2:
/* Generated from:
- * bd41fc813e5d2d23ff7edef2ab1ef88bbb054176476b7d989db7522dce1c9328 perly.y
+ * dbb2439b7793bc662fb61a937ef279c1e367658eb7b8755c88b0e9c61116ed55 perly.y
* 738ca60a0b4cb075902435e976a2f393d438e8e6e32ba81e037dd773b75c87b5 regen_perly.pl
* ex: set ro: */
diff --git a/perly.h b/perly.h
index 701fd5cb6d..63dedf7676 100644
--- a/perly.h
+++ b/perly.h
@@ -229,7 +229,7 @@ typedef union YYSTYPE
TOKEN* tkval;
#endif
}
-/* Line 1489 of yacc.c. */
+/* Line 1529 of yacc.c. */
YYSTYPE;
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1
@@ -240,6 +240,6 @@ typedef union YYSTYPE
/* Generated from:
- * bd41fc813e5d2d23ff7edef2ab1ef88bbb054176476b7d989db7522dce1c9328 perly.y
+ * dbb2439b7793bc662fb61a937ef279c1e367658eb7b8755c88b0e9c61116ed55 perly.y
* 738ca60a0b4cb075902435e976a2f393d438e8e6e32ba81e037dd773b75c87b5 regen_perly.pl
* ex: set ro: */
diff --git a/perly.tab b/perly.tab
index 3920cd2525..171faf8c69 100644
--- a/perly.tab
+++ b/perly.tab
@@ -1074,6 +1074,6 @@ static const toketypes yy_type_tab[] =
};
/* Generated from:
- * bd41fc813e5d2d23ff7edef2ab1ef88bbb054176476b7d989db7522dce1c9328 perly.y
+ * dbb2439b7793bc662fb61a937ef279c1e367658eb7b8755c88b0e9c61116ed55 perly.y
* 738ca60a0b4cb075902435e976a2f393d438e8e6e32ba81e037dd773b75c87b5 regen_perly.pl
* ex: set ro: */
diff --git a/perly.y b/perly.y
index 596426faae..a8adefb82c 100644
--- a/perly.y
+++ b/perly.y
@@ -816,7 +816,7 @@ subscripted: star '{' expr ';' '}' /* *main::{something} */
TOKEN_GETMAD($2,$$,'[');
TOKEN_GETMAD($4,$$,']');
}
- | scalar '{' expr ';' '}' /* $foo->{bar();} */
+ | scalar '{' expr ';' '}' /* $foo{bar();} */
{ $$ = newBINOP(OP_HELEM, 0, oopsHV($1), jmaybe($3));
PL_parser->expect = XOPERATOR;
TOKEN_GETMAD($2,$$,'{');