aboutsummaryrefslogtreecommitdiffstats
path: root/interpret.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2016-10-16 10:25:36 +0300
committerArnold D. Robbins <arnold@skeeve.com>2016-10-16 10:25:36 +0300
commitfa1a43af4efe4bc31ea54fca503f880ed2f50f42 (patch)
tree8a8c06cc319d0195dbfbc125906f735b64d95167 /interpret.h
parent71fe2c27de224b885f56e49097310f6664952110 (diff)
parent2d63bc3ee2a686560d29e1eb7b433deb45fd7619 (diff)
downloadegawk-fa1a43af4efe4bc31ea54fca503f880ed2f50f42.tar.gz
egawk-fa1a43af4efe4bc31ea54fca503f880ed2f50f42.tar.bz2
egawk-fa1a43af4efe4bc31ea54fca503f880ed2f50f42.zip
Merge branch 'master' into feature/cmake
Diffstat (limited to 'interpret.h')
-rw-r--r--interpret.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/interpret.h b/interpret.h
index 5aa62a8a..50eea9f2 100644
--- a/interpret.h
+++ b/interpret.h
@@ -616,6 +616,11 @@ mod:
REPLACE(r);
break;
+ case Op_unary_plus:
+ // Force argument to be numeric
+ t1 = TOP_NUMBER();
+ break;
+
case Op_store_sub:
/*
* array[sub] assignment optimization,