summaryrefslogtreecommitdiffstats
path: root/sys/tools
diff options
context:
space:
mode:
Diffstat (limited to 'sys/tools')
-rw-r--r--sys/tools/vnode_if.awk10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/tools/vnode_if.awk b/sys/tools/vnode_if.awk
index ea2ab3a..54ee3a1 100644
--- a/sys/tools/vnode_if.awk
+++ b/sys/tools/vnode_if.awk
@@ -191,8 +191,8 @@ if (cfile) {
while ((getline < srcfile) > 0) {
if (NF == 0)
continue;
- if ($1 ~ /^#%/) {
- if (NF != 6 || $1 != "#%" || \
+ if ($1 ~ /^%%/) {
+ if (NF != 6 || $1 != "%%" || \
$2 !~ /^[a-z]+$/ || $3 !~ /^[a-z]+$/ || \
$4 !~ /^.$/ || $5 !~ /^.$/ || $6 !~ /^.$/)
continue;
@@ -202,15 +202,15 @@ while ((getline < srcfile) > 0) {
continue;
}
- if ($1 ~ /^#!/) {
- if (NF != 4 || $1 != "#!")
+ if ($1 ~ /^%!/) {
+ if (NF != 4 || $1 != "%!")
continue;
if ($3 != "pre" && $3 != "post")
continue;
lockdata["vop_" $2, $3] = $4;
continue;
}
- if ($1 ~ /^#/)
+ if ($1 ~ /^#/ || $0 ~ /^$/)
continue;
# Get the function name.
OpenPOWER on IntegriCloud