aboutsummaryrefslogtreecommitdiffstats
path: root/interpret.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2018-02-09 11:34:16 +0200
committerArnold D. Robbins <arnold@skeeve.com>2018-02-09 11:34:16 +0200
commit96685ed2909ec198bf28ba81ccff755ea88ecda7 (patch)
tree105d924a67f774a38225d4435ba11130c420f508 /interpret.h
parent7c32c835b7f15d2906a691fa7776d3fcd77be0f7 (diff)
parenta7512f3eb03ae2b6361e56518a2f405e386315a0 (diff)
downloadegawk-96685ed2909ec198bf28ba81ccff755ea88ecda7.tar.gz
egawk-96685ed2909ec198bf28ba81ccff755ea88ecda7.tar.bz2
egawk-96685ed2909ec198bf28ba81ccff755ea88ecda7.zip
Merge branch 'master' into feature/fix-comments
Diffstat (limited to 'interpret.h')
-rw-r--r--interpret.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/interpret.h b/interpret.h
index 2ee68112..96e2c890 100644
--- a/interpret.h
+++ b/interpret.h
@@ -621,6 +621,9 @@ mod:
case Op_unary_plus:
// Force argument to be numeric
t1 = TOP_NUMBER();
+ r = make_number(t1->numbr);
+ DEREF(t1);
+ REPLACE(r);
break;
case Op_store_sub: