diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1998-03-05 19:56:17 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-03-05 19:56:17 +0000 |
commit | 9c82454c97e6b03ea96c9a17bf8b898d470e0064 (patch) | |
tree | 6c43c41d016f77079598c4abb556dcd97ffbcbd2 /op.c | |
parent | 9002cb76ec83ef7f7257db6ea6e60d6a200d7416 (diff) | |
download | perl-9c82454c97e6b03ea96c9a17bf8b898d470e0064.tar.gz |
[win32] add Nick's dTHR fixes
p4raw-id: //depot/win32/perl@787
Diffstat (limited to 'op.c')
-rw-r--r-- | op.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 ? '&' : '%')); |