summaryrefslogtreecommitdiff
path: root/usr.bin/bc/bc.y
AgeCommit message (Expand)Author
2013-09-19separate termios.h out from scan.l, both have an ECHO define. Noted byOtto Moerbeek
2012-03-08allow editline in -d mode; from AIDA ShinraOtto Moerbeek
2011-10-06Better error message on unexpected newline; noted by and ok deraadt@Otto Moerbeek
2011-08-03save/restore tty state on SIGTSTP/SIGCONT. ok deraadt@ nicm@Otto Moerbeek
2011-07-08el_set with EL_BIND needs sentinel NULL. with help from nicmTed Unangst
2011-06-03protect errno from damage in the signal handlerTheo de Raadt
2011-06-03Make ^D behave: dont't echo it and make it work if the cursor is atOtto Moerbeek
2011-06-01- avoid YY_FLUSH_BUFFER: it is not signal safe and it does not work as intendedOtto Moerbeek
2011-03-07add editline support; from freebsd. ok deraadt@Otto Moerbeek
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2006-05-18Avoid segv when a syntax error occurs while reading from command line.Otto Moerbeek
2006-04-20unused variableTheo de Raadt
2006-03-31Better useage string. From Alexey Dobriyan.Otto Moerbeek
2006-03-18Forgotten part in previous commit; having multiple source trees is aOtto Moerbeek
2006-03-18Interchange roles: bc becomes parent, dc child. This leads to sanerOtto Moerbeek
2005-09-18Do not check pointer for NULL, but check for return value of asprintf(),Otto Moerbeek
2005-05-23Fix some pedantic signed vs unsigned warnings. From Michael Knudsen, 10xOtto Moerbeek
2005-03-17Fix eof without newline handling. spotted by and ok deraadt@Otto Moerbeek
2004-10-19Implement -e expression, for command line expression evaluation.Otto Moerbeek
2004-02-18Rewrite argv processing to not alter argv[] and optind while in theOtto Moerbeek
2004-01-13Missing cast. From deraadt@Otto Moerbeek
2003-12-19Pass SIGINT to dc process.Otto Moerbeek
2003-12-02o Introduce long variable names, a non-portable extension.Otto Moerbeek
2003-11-17Implement non-portable extensions:Otto Moerbeek
2003-11-13When using print, do not leave garbage on the dc stack.Otto Moerbeek
2003-11-13Exponentiation operatator ^ is right associative.Otto Moerbeek
2003-11-11Some syntactic sugar (all non-portable extensions):Otto Moerbeek
2003-11-11Implement `print' statement, a non-portable extension.Otto Moerbeek
2003-10-22Implement if ... else statement. If you do not use 'else', code generatedOtto Moerbeek
2003-10-19Allow the expressions in for (E ; E ; E ) to be empty.Otto Moerbeek
2003-10-18err(1, "cannot allocate mem") -> err(1, NULL)Otto Moerbeek
2003-10-18o Fix assignment operators (+=, -=, ... )Otto Moerbeek
2003-09-30Make sure strings and error messages sent to dc(1) properly escape [, ] and \.Otto Moerbeek
2003-09-29Implement (undocumented) dot shorthand, which was missing.Otto Moerbeek
2003-09-28Better error hanndling:Otto Moerbeek
2003-09-28Fix function return types. Unbreaks sparc64 compilation. Spotted byOtto Moerbeek
2003-09-26minor tweaks as i fail to find real bugsTheo de Raadt
2003-09-26incorrect indentTheo de Raadt
2003-09-26make usage match man pageTheo de Raadt
2003-09-26spacingTheo de Raadt
2003-09-26Check strdup() return value, as pointed out by deraadt@Otto Moerbeek
2003-09-25A new, BSD licensed implementation of bc(1).Otto Moerbeek