svn commit: r233804 - stable/9/sys/tools

Mikolaj Golub trociny at FreeBSD.org
Mon Apr 2 19:06:29 UTC 2012


Author: trociny
Date: Mon Apr  2 19:06:28 2012
New Revision: 233804
URL: http://svn.freebsd.org/changeset/base/233804

Log:
  MFC r231975:
  
  Make vnode_if.awk parse vnode operations with underscores, like VOP_FOO_BAR.
  
  Reviewed by:	kib

Modified:
  stable/9/sys/tools/vnode_if.awk
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/9/sys/tools/vnode_if.awk
==============================================================================
--- stable/9/sys/tools/vnode_if.awk	Mon Apr  2 19:01:32 2012	(r233803)
+++ stable/9/sys/tools/vnode_if.awk	Mon Apr  2 19:06:28 2012	(r233804)
@@ -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;


More information about the svn-src-stable-9 mailing list