summaryrefslogtreecommitdiff
path: root/op.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-03-05 19:56:17 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-03-05 19:56:17 +0000
commit9c82454c97e6b03ea96c9a17bf8b898d470e0064 (patch)
tree6c43c41d016f77079598c4abb556dcd97ffbcbd2 /op.c
parent9002cb76ec83ef7f7257db6ea6e60d6a200d7416 (diff)
downloadperl-9c82454c97e6b03ea96c9a17bf8b898d470e0064.tar.gz
[win32] add Nick's dTHR fixes
p4raw-id: //depot/win32/perl@787
Diffstat (limited to 'op.c')
-rw-r--r--op.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/op.c b/op.c
index e30e874117..925743495a 100644
--- a/op.c
+++ b/op.c
@@ -87,6 +87,7 @@ assertref(OP *o)
if (type != OP_AELEM && type != OP_HELEM) {
yyerror(form("Can't use subscript on %s", op_desc[type]));
if (type == OP_ENTERSUB || type == OP_RV2HV || type == OP_PADHV) {
+ dTHR;
SV *msg = sv_2mortal(
newSVpvf("(Did you mean $ or @ instead of %c?)\n",
type == OP_ENTERSUB ? '&' : '%'));