From 2e130b5cadb970b7f4f743e69cd459b5b42cf208 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sat, 3 Jun 2000 17:02:30 +0000 Subject: Recognize `|xxxx|' as verbatim text and typeset it using . --- doc/kernel-doc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'doc/kernel-doc') diff --git a/doc/kernel-doc b/doc/kernel-doc index 50a6803..f4f85c1 100755 --- a/doc/kernel-doc +++ b/doc/kernel-doc @@ -79,6 +79,7 @@ # '&struct_name' - name of a structure # '@parameter' - name of a parameter # '%CONST' - name of a constant. +# '|code|' - literal string # match expressions used to find embedded type information $type_constant = "\\\%(\\w+)"; @@ -86,6 +87,7 @@ $type_func = "(\\w+\\(\\))"; $type_param = "\\\@(\\w+)"; $type_struct = "\\\\\\\\\\\\amp;(\\w+)"; $type_env = "(\\\$\\w+)"; +$type_code = "\\|(.*)\\|"; # Output conversion substitutions. @@ -118,7 +120,8 @@ $blankline_gnome = "\n"; %highlights_bird = ( $type_constant, "\$1"); $blankline_bird = "

"; # these are pretty rough -- cgit v1.2.3