Make vnode_if.awk parse vnode operations with underscores, like VOP_FOO_BAR.

Reviewed by:	kib
MFC after:	1 week
This commit is contained in:
Mikolaj Golub 2012-02-21 19:35:59 +00:00
parent 9a2856b439
commit f62f6c88ee
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=231975

View File

@ -195,7 +195,7 @@ while ((getline < srcfile) > 0) {
continue;
if ($1 ~ /^%%/) {
if (NF != 6 ||
$2 !~ /^[a-z]+$/ || $3 !~ /^[a-z]+$/ ||
$2 !~ /^[a-z_]+$/ || $3 !~ /^[a-z]+$/ ||
$4 !~ /^.$/ || $5 !~ /^.$/ || $6 !~ /^.$/) {
die("Invalid %s construction", "%%");
continue;