aboutsummaryrefslogtreecommitdiff
path: root/gcc/genhooks.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/genhooks.cc')
-rw-r--r--gcc/genhooks.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/genhooks.cc b/gcc/genhooks.cc
index 6bae85d..86dff52 100644
--- a/gcc/genhooks.cc
+++ b/gcc/genhooks.cc
@@ -232,6 +232,7 @@ emit_documentation (const char *in_fname)
deftype, hook_array[j].docname,
hook_array[j].type, namex);
}
+ printf ("\n@c hook-start:%s", upstrdup (hook_array[i].name));
if (hook_array[i].doc[0])
{
printf ("\n");
@@ -245,6 +246,7 @@ emit_documentation (const char *in_fname)
}
printf ("\n@end %s", deftype);
}
+ printf ("\n@c hook-end");
}
if (++i >= (int) (ARRAY_SIZE (hook_array)) || !hook_array[i].doc)
break;