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;
_______________________________________________
svn-src-stable-9@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-stable-9
To unsubscribe, send any mail to "svn-src-stable-9-unsubscr...@freebsd.org"

Reply via email to