Date: Wed, 14 May 2003 19:23:32 -0700 (PDT) From: Warner Losh <imp@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/devd parse.y Message-ID: <200305150223.h4F2NW3S082693@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
imp 2003/05/14 19:23:32 PDT
FreeBSD src repository
Modified files:
sbin/devd parse.y
Log:
Allow zero or more actions in an action list, rather than requiring
one or more actions in the list. This makes constructs like:
attach 10 {
// echo "Driver $device_name attached"
};
to be accepted by the parser. It will be treated as if the user had
entered:
// attach 10 {
// echo "Driver $device_name attached"
// };
(eg totally ignored).
Approved by: re@ (rwatson)
Revision Changes Path
1.3 +3 -0 src/sbin/devd/parse.y
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305150223.h4F2NW3S082693>
