summaryrefslogtreecommitdiffstats
path: root/usr.bin/m4/expr.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove stray spaces. No code change.marco2010-09-071-2/+2
|
* use stdint.h where appropriate. okay millert@espie2006-01-201-2/+2
|
* replace hand-made expr() parser with a lex/yacc affair that is shorter,espie2004-05-121-602/+28
| | | | | | | easier to understand and extend, and better conformant to Single Unix 3 (especially doing all arithmetic as int32_t). Comments and approval millert@, otto@, fries@
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-031-7/+3
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* use ansi function declarations. ok millert@espie2002-04-261-6/+4
|
* rename `bool' to something else, to avoid C99 surprises.espie2002-04-261-6/+6
|
* Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert2002-02-161-18/+18
|
* Show problematic evaluated expression in error messages.espie2000-01-111-3/+5
|
* Turn warnings on,espie1999-11-171-7/+10
| | | | | | | | Add missing prototypes, Make local functions static, Sort extern.h by file, Constify all char * that can be, Copy temp file name so that eval does not modify its arguments.
* I'm a moron...espie1999-11-151-3/+3
| | | | Bug found by dugsong@. I can't believe it wasn't found before.
* Do something sensible with division by 0 in expr.espie1999-09-161-4/+10
| | | | Noticed by aaron@.
* Style: kill register and indent properly.espie1999-09-141-23/+22
| | | | | | Let indx match netbsd flavor, to simplify diffs. Show how many quotes were not closed. Increase stack slightly, now that we're no longer bound by argspace.
* -I works better when activated...espie1999-09-141-2/+3
| | | | Fuss with prototypes.
* Add support for hex constants.espie1999-09-141-9/+40
| | | | Not the same code as NetBSD.
* -Wallmillert1998-04-251-3/+3
|
* Use int not char in two places. Noted by Dale.millert1997-10-241-4/+4
|
* rcsidderaadt1996-06-261-1/+2
|
* initial import of NetBSD treederaadt1995-10-181-0/+580