summaryrefslogtreecommitdiff
path: root/bin/expr/expr.y
AgeCommit message (Expand)Author
2018-06-27Add a missing check to handle correctly 0 * 0 in expr(1)kamil
2018-06-27Improve the * operator handling in expr(1)kamil
2018-06-14remove notreachedchristos
2018-06-14return to caller instead of exit(2)christos
2018-06-13Detect properly overflow in expr(1) for 0 + INTkamil
2018-06-12Rework perform_arith_op() in expr(1) to omit Undefined Behaviorkamil
2016-09-05Drop main() prototype.sevan
2012-03-15Add __printflike attribution to use vprintf and friends with an argumentjoerg
2011-08-25Mark yyerror as dead.joerg
2009-01-20Revert for now, pending discussion of how expr should behave in the casejoerg
2009-01-20SUS says that expr must support "--" to prevent interpretation ofjoerg
2008-04-30Normalize TNF license, move to 2 clause.martin
2006-03-17Handle asprintf failing to allocate.rumble
2005-06-01appease gcc -Wuninitializedlukem
2004-04-20add support for 'length' keyword, for compatibility with GNU exprjdolecek
2004-03-20explicitly use REG_BASIC when calling regcomp(3), instead of 0jdolecek
2003-02-14'NetBSD.org'grant
2001-09-16Use {g,s}etprogname, and some other KNF stuff. Patch by Petri Koistinen.wiz
2001-05-06Various cleanups/fixes.jmc
2001-05-05Various changes to fix bugs in PR bin/12838.jmc
2001-04-25Spell occurred correctly.simonb
2001-02-04remove redundant declaration of yyparsechristos
2000-10-30add a hack to properly handle '--' as first argument -jdolecek
2000-10-29The "&" operator has a higer precedence than "|".thorpej
2000-10-27also credit J.T. Conklin in copyright messagejdolecek
2000-10-26fix operator precedence - | or & have lower priority thanjdolecek
2000-09-29in regexp handling code, fix the format passed to asprintf() to bejdolecek
2000-09-21Fix bug in regexp handling, caused not quite complete conversionjdolecek
2000-09-19reimplement expr using lexical parser generated by yaccjdolecek
1994-07-16Clean up deleted files.mycroft
1994-07-10don't forget a cast, and thereby fix the regexp problems on big-endian machinescgd
1993-11-16Fix insignificant memory leak.jtc
1993-10-04Allow expressions like "expr 'ABC' : '^.*$' to work as is done in otherjtc
1993-09-14Fix grammar to eliminate support for unary minus expressions -- theyjtc
1993-08-17Use err() routine for error messages.jtc
1993-08-16expr is supposed to do string comparisons using the locale specificjtc
1993-07-20Now truely POSIX 1003.2 (D11.2) compliant.jtc
1993-07-20Don't coerce strings to int in comparisons.jtc
1993-07-20integer arguments were not coerced to strings for the `:' operator.jtc
1993-06-14Updated to POSIX regular expression routines.jtc
1993-06-05update for latest version of patches from jtconklin@kaleida.comcgd
1993-03-23added J.T. Conklin's changes to get parens working fine, etc.cgd
1993-03-23changed "Id" to "Header" for rcsidscgd
1993-03-22added rcs ids to all filescgd
1993-03-21initial import of 386bsd-0.1 sourcescgd