aboutsummaryrefslogtreecommitdiff
path: root/miscutils/bc.c (follow)
Commit message (Expand)AuthorAgeFilesLines
...
* bc: fixes to bugs found while testing 64-bit buildDenys Vlasenko2018-12-181-8/+13
* bc: fixed from 64-bit compileDenys Vlasenko2018-12-181-10/+11
* bc: remove "error after expression parsing" checkDenys Vlasenko2018-12-171-151/+131
* bc: tighten up input NUL handlingDenys Vlasenko2018-12-171-49/+64
* bc: simplify zdc_parse_string()Denys Vlasenko2018-12-171-5/+3
* bc: use common stringsDenys Vlasenko2018-12-171-4/+8
* bc: tidy up "z-function" macro machineryDenys Vlasenko2018-12-171-318/+131
* bc: parse file arguments piecemeal (do not read entire file)Denys Vlasenko2018-12-171-105/+78
* bc: move fflush to the _actual_ execution loopDenys Vlasenko2018-12-171-1/+2
* bc: fix typo: defone -> defineDenys Vlasenko2018-12-171-1/+1
* bc: factor out common codeDenys Vlasenko2018-12-171-57/+51
* bc: remove use of "BcInstPtr ip" object from loop parsingDenys Vlasenko2018-12-161-19/+9
* bc: store only index in p->exits, it's the only thing used thereDenys Vlasenko2018-12-161-8/+5
* bc: p->exits.func is never zero, do not check for thatDenys Vlasenko2018-12-161-19/+7
* bc: remove redundant JUMP generation when parsing 'while'Denys Vlasenko2018-12-161-11/+5
* bc: simplify use of "ip" in loop parsing functionsDenys Vlasenko2018-12-161-6/+2
* bc: shring bc_lib[]Denys Vlasenko2018-12-161-2/+2
* bc: shrink zbc_parse_if() a bit moreDenys Vlasenko2018-12-161-16/+14
* bc: stop using p->exits when parsing if()Denys Vlasenko2018-12-161-13/+5
* bc: preparation to stop using p->exits when parsing if()Denys Vlasenko2018-12-161-5/+7
* bc: fix "print 1,2,3" parsingDenys Vlasenko2018-12-161-23/+8
* bc: disallow empty statement as function bodyDenys Vlasenko2018-12-161-7/+7
* bc: allow only one <newline> between if() and stmtDenys Vlasenko2018-12-161-4/+13
* bc: simplify bc_parse_pushName(), do not free name in it - avoids one strdupDenys Vlasenko2018-12-161-8/+5
* bc: simplify zbc_parse_break_or_continue(), logic is the sameDenys Vlasenko2018-12-161-11/+10
* bc: fold zbc_parse_else() into its only callerDenys Vlasenko2018-12-161-38/+21
* bc: fold bc_parse_noElse() into its only callerDenys Vlasenko2018-12-161-15/+7
* bc: delete unused (write-only) BcParse::nbraces memberDenys Vlasenko2018-12-161-21/+20
* bc: fixes for multi-line if/while/forDenys Vlasenko2018-12-161-8/+35
* bc: fix handling of 'return' not in functions, and 'define f()<newline>{...}'Denys Vlasenko2018-12-161-8/+24
* bc: partially rewrite parser, tests pass, ^C might be broken nowDenys Vlasenko2018-12-161-371/+260
* bc: lexer debugging, added some failing test casesDenys Vlasenko2018-12-151-38/+69
* bc: simplify BC_INST_JUMP[_ZERO] handlingDenys Vlasenko2018-12-151-9/+12
* bc: rewrite "block flag stack" using simple realloc'ed byte arrayDenys Vlasenko2018-12-151-20/+23
* bc: drop zbc_parse_endBody() bool parameter, move its code to caller which us...Denys Vlasenko2018-12-141-14/+9
* bc: shorten one message, make defines more readableDenys Vlasenko2018-12-141-51/+38
* bc: pull zbc_lex_next() call out of zbc_parse_operator() into one caller that...Denys Vlasenko2018-12-141-16/+8
* bx: add more debug scaffoldingDenys Vlasenko2018-12-141-4/+21
* bc: convert macro bc_parse_push() to function, add debug infrastructureDenys Vlasenko2018-12-141-11/+53
* bc: rename zbc_parse_text() to ..._init(), reuse existing code for library pa...Denys Vlasenko2018-12-141-14/+6
* bc: compress two constant arguments of bc_lex_assign() to oneDenys Vlasenko2018-12-141-9/+20
* bc: remove stale comment, empty lines, regularize comment styleDenys Vlasenko2018-12-141-44/+34
* bc: tweak bc_num_parseDecimal() for readability, logic is not changedDenys Vlasenko2018-12-141-3/+3
* bc: shrink s() in library againDenys Vlasenko2018-12-141-6/+2
* bc: yet another library shrinkDenys Vlasenko2018-12-141-1/+1
* bc: shrink internal library yet moreDenys Vlasenko2018-12-141-1/+1
* bc: shrink internal library moreDenys Vlasenko2018-12-141-2/+8
* bc: shrink internal libraryDenys Vlasenko2018-12-141-20/+14
* bc: group ENABLE_BC code a bit better, no logic changesDenys Vlasenko2018-12-141-73/+71
* bc: fix "dc only" bugDenys Vlasenko2018-12-131-2/+1