Denys Vlasenko
|
53799506ac
bc: implement pass-by-reference code from upstream
|
5 years ago |
Denys Vlasenko
|
cfc2546ea4
bc: code shrink
|
6 years ago |
Denys Vlasenko
|
a1698a15dc
bc: remove "empty expression" check/message, parsing fails in these cases anyway
|
6 years ago |
Denys Vlasenko
|
132d7c098b
bc: zbc_parse_expr_empty_ok() is unused except by zbc_parse_expr(), fold it in
|
6 years ago |
Denys Vlasenko
|
fc7aa7a296
bc: disallow invalid syntax like "{ print 1 print 2 }"
|
6 years ago |
Denys Vlasenko
|
edca770d11
sleep: support "inf"
|
6 years ago |
Denys Vlasenko
|
e05ec6ed3e
bc: shorten "limits" output
|
6 years ago |
Denys Vlasenko
|
f11b5b9864
bc: formatting changes, added a FIXME comment, no logic changes
|
6 years ago |
Denys Vlasenko
|
54f5c1d600
bc: support void functions (GNU compat)
|
6 years ago |
Denys Vlasenko
|
1db367a8e6
dc: fit returning of string
|
6 years ago |
Denys Vlasenko
|
6842c6062a
dc: fix '?'
|
6 years ago |
Denys Vlasenko
|
377cc97b19
bc: eliminate struct BcInstPtr::results_len_before_call, it is redundant
|
6 years ago |
Denys Vlasenko
|
02c3d7a1c9
bc: add a palceholder comment for "void" return
|
6 years ago |
Denys Vlasenko
|
19c3eb0b04
bc: remove extra div/0 test, remove test for string function parameter
|
6 years ago |
Denys Vlasenko
|
96b5ec10fb
bc: fix "...; return}" to work, disallow "return ()"
|
6 years ago |
Denys Vlasenko
|
ae6c44ea15
bc: make error line number also size_t, like everything else
|
6 years ago |
Denys Vlasenko
|
266bec8ba7
bc: speed up string printing, fix print ""
|
6 years ago |
Denys Vlasenko
|
2231468a2f
bc: upstream fixes
|
6 years ago |
Denys Vlasenko
|
51b510a480
bc: in xc_read_line(), check ^C on NUL input bytes too
|
6 years ago |
Denys Vlasenko
|
8797adc1c6
bc: remove superfluous assigment
|
6 years ago |
Denys Vlasenko
|
680ccd3573
bc: support ibase up to 36 (GNU compat)
|
6 years ago |
Denys Vlasenko
|
2747f6195b
bc: fold xc_lex_more_input() into peek_inbuf()
|
6 years ago |
Denys Vlasenko
|
2cd8c04632
bc: tidying up, no logic changes
|
6 years ago |
Denys Vlasenko
|
8ab209f00e
bc: simplify representation of 0.5 in sqrt()
|
6 years ago |
Denys Vlasenko
|
374d2c47ec
bc: remove special-cased assignment to ibase, it works correctly with general rules
|
6 years ago |
Denys Vlasenko
|
d5b0fa6abf
bc: more fixes for unusual input bases
|
6 years ago |
Denys Vlasenko
|
e16a5223d2
bc: fix handling of "digits" above 9
|
6 years ago |
Denys Vlasenko
|
cdadad58a1
bc: bc enables FEATURE_DC_BIG, for correct dc testsuite operation
|
6 years ago |
Denys Vlasenko
|
1476760600
bc: rename config options
|
6 years ago |
Denys Vlasenko
|
b097a84d62
config: update size information
|
6 years ago |