Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Jaromir Dolecek <jdolecek@netbsd.org>
List: source-changes
Date: 10/30/2000 16:55:03
Module Name: basesrc
Committed By: jdolecek
Date: Mon Oct 30 14:55:02 UTC 2000
Modified Files:
basesrc/bin/expr: expr.y
Log Message:
add a hack to properly handle '--' as first argument -
it's ignored if it would cause syntax error, otherwise treated as common
string; this is so that both 'expr -- : .' and 'expr -- foo : .' works
This addresses standards/11230 by Ben Harris.
while here, make all global variables but main() static, use const more
To generate a diff of this commit:
cvs rdiff -r1.22 -r1.23 basesrc/bin/expr/expr.y
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.