aboutsummaryrefslogtreecommitdiffstats
path: root/interpret.h
diff options
context:
space:
mode:
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 46c44cdb..c514a591 100644
--- a/interpret.h
+++ b/interpret.h
@@ -618,6 +618,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,