aboutsummaryrefslogtreecommitdiffstats
path: root/interpret.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2018-02-09 11:33:36 +0200
committerArnold D. Robbins <arnold@skeeve.com>2018-02-09 11:33:36 +0200
commita7512f3eb03ae2b6361e56518a2f405e386315a0 (patch)
tree141e85f9b2fee728883e3851628da02f72ef639c /interpret.h
parent4f92f35791d975671881e21f6b79b71050fd2787 (diff)
parentc1e55fde1a4bb72a0627ab37fe5ba1493cbf91eb (diff)
downloadegawk-a7512f3eb03ae2b6361e56518a2f405e386315a0.tar.gz
egawk-a7512f3eb03ae2b6361e56518a2f405e386315a0.tar.bz2
egawk-a7512f3eb03ae2b6361e56518a2f405e386315a0.zip
Merge branch 'gawk-4.2-stable'
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: