summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rwxr-xr-xdoc/kernel-doc2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/kernel-doc b/doc/kernel-doc
index f4f85c15..67844878 100755
--- a/doc/kernel-doc
+++ b/doc/kernel-doc
@@ -87,7 +87,7 @@ $type_func = "(\\w+\\(\\))";
$type_param = "\\\@(\\w+)";
$type_struct = "\\\\\\\\\\\\amp;(\\w+)";
$type_env = "(\\\$\\w+)";
-$type_code = "\\|(.*)\\|";
+$type_code = "\\|([^|]*)\\|";
# Output conversion substitutions.