aboutsummaryrefslogtreecommitdiff
path: root/miscutils/bc.c (follow)
Commit message (Expand)AuthorAgeFilesLines
...
* bc: fix "warning: 's' may be used uninitialized in this function"Denys Vlasenko2018-12-051-0/+1
* bc: code shrinkDenys Vlasenko2018-12-051-18/+36
* bc: code shrinkDenys Vlasenko2018-12-051-19/+18
* bc: make division operation interruptibleDenys Vlasenko2018-12-051-2/+10
* bc: use unsigned division by 10 instead of signedDenys Vlasenko2018-12-051-3/+4
* bc: move ^C check fro power calculation to multiplicationDenys Vlasenko2018-12-051-10/+14
* bc: bc_num_k(): move carry,i,j,len to inner scopeDenys Vlasenko2018-12-051-6/+9
* bc: tweak error messagesDenys Vlasenko2018-12-051-3/+9
* bc: fix inverted POSIXness test, improve messages, commonalize message stringsDenys Vlasenko2018-12-051-12/+24
* bc: print error line numbersDenys Vlasenko2018-12-051-15/+25
* bc: optimize pushing zero bytes to vectorsDenys Vlasenko2018-12-051-11/+16
* bc: restore printing of script name on errorsDenys Vlasenko2018-12-051-12/+29
* bc: do not check for errors when parsing/running internal libraryDenys Vlasenko2018-12-051-184/+186
* bc: shrink error handling code by enabling tail-call optimizationDenys Vlasenko2018-12-051-97/+136
* bc: make 2^1000000 interruptible fasterDenys Vlasenko2018-12-051-0/+10
* bc: remove tabs from internal libraryDenys Vlasenko2018-12-051-172/+172
* bc: store library in ASCII, shrink keyword parsing codeDenys Vlasenko2018-12-051-140/+263
* bc: drop bc_map_init() macroDenys Vlasenko2018-12-051-5/+3
* bc: create a few common functionsDenys Vlasenko2018-12-051-27/+36
* bc: rewrite "BOOL * EXPR" idiom as if() statementDenys Vlasenko2018-12-051-3/+4
* bc: switch to SA_RESTART signal handlingDenys Vlasenko2018-12-051-1/+17
* bc: get rid of G.tty and G.flagsDenys Vlasenko2018-12-051-21/+17
* bc: convert all status codes, remove bc_err_msgs[], bc_vm_error(), bc_vm_posi...Denys Vlasenko2018-12-051-215/+52
* bc: convert all non-POSIX BC_STATUS_foo codesDenys Vlasenko2018-12-051-204/+271
* bc: convert BC_STATUS_EXEC_SIGNAL - its message string was never usedDenys Vlasenko2018-12-051-30/+39
* bc: convert BC_STATUS_PARSE_NO_AUTODenys Vlasenko2018-12-051-3/+3
* bc: convert BC_STATUS_EXEC_MISMATCHED_PARAMS and BC_STATUS_EXEC_UNDEFINED_FUNCDenys Vlasenko2018-12-051-10/+16
* bc: BC_STATUS_VEC_ITEM_EXISTS is not a real error code, its message was never...Denys Vlasenko2018-12-051-21/+17
* bc: simplify bc_lex_comment()Denys Vlasenko2018-12-051-11/+14
* bc: handle BIN_FILE and LEX_BAD_CHAR errors at the site of detectionDenys Vlasenko2018-12-051-54/+76
* bc: eliminate BC_STATUS_INPUT_EOFDenys Vlasenko2018-12-051-21/+27
* bc: handle "limits" and "quit" immediately at parse timeDenys Vlasenko2018-12-051-58/+49
* bc": drop unused error codes and stringsDenys Vlasenko2018-12-051-82/+73
* bc: remove "error ids": serve no useful purpose, error message should be expl...Denys Vlasenko2018-12-051-57/+11
* bc: reduce forward declarationsDenys Vlasenko2018-12-051-8/+4
* bc: use smaller datatypes for limits, match GNU bc 'limits' outputDenys Vlasenko2018-12-051-18/+16
* bc: better handle optional args of bc_program_pushVar()Denys Vlasenko2018-12-051-24/+25
* bc: tweak help textDenys Vlasenko2018-12-051-4/+11
* bc: simplify bc_vm_stdin()Denys Vlasenko2018-12-051-6/+5
* bc: only check for ^C in bc_program_exec() main loopDenys Vlasenko2018-12-051-49/+21
* bc: simpler calling convention for bc_read_file(), bc_program_search()Denys Vlasenko2018-12-051-26/+23
* bc: bc_num_ulong2num(), bc_program_pushGlobal(), bc_program_stackLen() never ...Denys Vlasenko2018-12-051-42/+26
* bc: stop passing around pointers to G.prog, they are all constantDenys Vlasenko2018-12-051-293/+284
* bc: select parse_init() and parse_expr() using IS_BC, not function pointersDenys Vlasenko2018-12-051-25/+27
* bc: propagate fixed arguments into calleesDenys Vlasenko2018-12-051-111/+125
* bc: simplify ^C handlingDenys Vlasenko2018-12-051-80/+59
* bc: convert to "G trick" - this returns bc to zero bss increaseDenys Vlasenko2018-12-051-159/+133
* bc: simplify, and restore ^C, fix ^D handlingDenys Vlasenko2018-12-051-71/+34
* bc: simplify, stop testing for IO errors on every outputDenys Vlasenko2018-12-051-122/+81
* bc: fix warnings, initial cleanupsDenys Vlasenko2018-12-051-129/+124