summaryrefslogtreecommitdiffstats
path: root/usr.bin/bc/bc.y
Commit message (Collapse)AuthorAgeFilesLines
* MFC r291155:pfg2015-12-261-1/+1
| | | | | | | | | | | | | | | | | | | | bc: sync with OpenBSD tty.c Rev. 1.3 Avoid unintended problems with operator precedence when doing an assignment and comparison. bc.1, Rev. 1.31, 1.32 '.Ql Quit' -> '.Ql quit' because only the lowercase command is valid. Clarify sentence about `quit` in BUGS section. extern.h, Rev. 1.12 whitespace bc.y, Rev. 1.47 Prefer setvbuf() to setlinebuf() for portability Obtained from: OpenBSD
* MFC r264573+264608+264609:delphij2014-05-071-21/+27
| | | | Sync with OpenBSD.
* MFC r259058,r259060:delphij2013-12-231-1/+1
| | | | | | Remove -q from usage. Document -q and --quiet as discouraged compatibility option.
* Make definition match declarationeadler2012-11-151-1/+1
| | | | | Approved by: cperciva MFC after: 3 days
* Fix world after byacc import:bapt2012-05-221-1/+0
| | | | | | | | - old yacc(1) use to magicially append stdlib.h, while new one don't - new yacc(1) do declare yyparse by itself, fix redundant declaration of 'yyparse' Approved by: des (mentor)
* - Fix an erroneous invocation of the editline.kevlo2012-03-151-11/+12
| | | | | | | | - Fix wrong scaling in the bc.library. - Let length(0.000) conform to what gnu bc does. PR: bin/159227 Submitted by: AIDA Shinra <shinra at j10n dot org>
* Use libedit when interacting with tty, which provided historydelphij2010-02-041-0/+18
| | | | | | | | | | functionality, etc. as did by GNU bc. This also fixes an issue where BSDL bc can not handle very long line. Reported by: imp Reviewed by: imp
* - style(9)gabor2010-02-031-26/+35
| | | | Approved by: delphij (mentor)
* - Remove --debug option and intentionally undocument -d, which is onlydelphij2010-01-221-2/+1
| | | | | | | | | kept for compatibility with 4.4BSD behavior. - Sync SYNOPSIS with usage(). - Use an alternative way to represent short and long options which have same semantics. Reviewed by: gabor
* Replace GNU bc/dc with BSDL versions ported from OpenBSD. They have a goodgabor2010-01-201-0/+1179
compatibility level with the GNU counterparts and have shown to be mature enough. For now, the GNU versions aren't removed from the tree, just detached from the build. Sponsored by: Google Summer of Code 2008 Portbuild run by: erwin Approved by: delphij
OpenPOWER on IntegriCloud