dc: fit returning of string

function                                             old     new   delta
zxc_program_exec                                    4087    4098     +11

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2019-01-04 06:18:00 +01:00
parent 6842c6062a
commit 1db367a8e6
2 changed files with 18 additions and 5 deletions

View File

@ -46,6 +46,11 @@ testing "dc read" \
"2\n9\n1\n" \
"1?2\nf" "9\n"
testing "dc read string" \
"dc -finput" \
"2\nstr\n1\n" \
"1?2\nf" "[str]\n"
optional FEATURE_DC_BIG
# All tests below depend on FEATURE_DC_BIG