aboutsummaryrefslogtreecommitdiffstats
path: root/interpret.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2018-02-11 20:32:15 +0200
committerArnold D. Robbins <arnold@skeeve.com>2018-02-11 20:32:15 +0200
commit1fd985df4c833381498094484cb8a18aa2b65730 (patch)
tree10ab8de599afeb885b18a72867ee183aedde9b38 /interpret.h
parente25975137bf06b8ada724f989fff8112ab26355f (diff)
parente988fbb61b477a61114e83bf988f10b397e641fb (diff)
downloadegawk-1fd985df4c833381498094484cb8a18aa2b65730.tar.gz
egawk-1fd985df4c833381498094484cb8a18aa2b65730.tar.bz2
egawk-1fd985df4c833381498094484cb8a18aa2b65730.zip
Merge branch 'master' into feature/fts-skip
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: