Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Apr 2012 19:06:28 +0000 (UTC)
From:      Mikolaj Golub <trociny@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r233804 - stable/9/sys/tools
Message-ID:  <201204021906.q32J6SgN012470@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201204021906.q32J6SgN012470>