Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: James Chacon <jmc@netbsd.org>
List: source-changes
Date: 05/05/2001 09:57:57
Module Name:	basesrc
Committed By:	jmc
Date:		Sat May  5 06:57:57 UTC 2001

Modified Files:
	basesrc/bin/expr: expr.y

Log Message:
Various changes to fix bugs in PR bin/12838.

Make sure all precendence is spelled out correctly (comparison does not
have the same level as the arithmetic operators..)
Break the arithemtic operators into 2 classes (+- are lower than */%)
Restructure the arithmetic code into a function either class above can call.
Finally, add a whole suite of regression tests (checked in separately) which
the previous code failed on 3 of them.


To generate a diff of this commit:
cvs rdiff -r1.25 -r1.26 basesrc/bin/expr/expr.y

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.