diff options
author | Andrew J. Schorr <aschorr@telemetry-investments.com> | 2018-02-07 14:16:47 -0500 |
---|---|---|
committer | Andrew J. Schorr <aschorr@telemetry-investments.com> | 2018-02-07 14:16:47 -0500 |
commit | f9ff7769b7b38973bf7447b8ca596435ccf77b67 (patch) | |
tree | 28313e5d0755e3e10c10619edcc660202a0dd8fe /interpret.h | |
parent | 9b4b32b5911b9d51643d2efd6c646f17e5214c03 (diff) | |
download | egawk-f9ff7769b7b38973bf7447b8ca596435ccf77b67.tar.gz egawk-f9ff7769b7b38973bf7447b8ca596435ccf77b67.tar.bz2 egawk-f9ff7769b7b38973bf7447b8ca596435ccf77b67.zip |
Fix bug printing +"01" in regular and MPFR mode.
Diffstat (limited to 'interpret.h')
-rw-r--r-- | interpret.h | 3 |
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: |