Skip to content

Commit

Permalink
check attempt of delete from string
Browse files Browse the repository at this point in the history
  • Loading branch information
NotFound committed Feb 3, 2011
1 parent f8e17d4 commit 7eeee58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion winxedst1.winxed
Expand Up @@ -2881,7 +2881,7 @@ class OpDeleteExpr : OpUnaryExpr
function emit(e, result)
{
var expr = self.subexpr;
if (expr instanceof IndexExpr) {
if (expr instanceof IndexExpr && expr.checkresult() != REGstring) {
expr.emit_prep(e);
self.annotate(e);
e.print('delete ');
Expand Down

0 comments on commit 7eeee58

Please sign in to comment.