From f04b51b14c8ee4519cb1e5e8cea3d4a9d25ea827 Mon Sep 17 00:00:00 2001 From: Zhanna Tsitkov Date: Tue, 12 Jul 2011 15:56:46 +0000 Subject: [PATCH] Fix the problem with a wildcard in typedefs git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25019 dc483132-0cff-0310-8789-dd5450dbe970 --- doc/rst_tools/doxybuilder_types.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/rst_tools/doxybuilder_types.py b/doc/rst_tools/doxybuilder_types.py index 8d1d32e34..bf76c1d77 100644 --- a/doc/rst_tools/doxybuilder_types.py +++ b/doc/rst_tools/doxybuilder_types.py @@ -102,6 +102,7 @@ class DoxyTypes(object): # remove macros t_definition = re.sub('KRB5_CALLCONV_C', '', t_definition) t_definition = re.sub('KRB5_CALLCONV', '', t_definition) + t_definition = re.sub('\*', '\\*', t_definition) # handle fp if t_type[1].find('(') >= 0: t_type = (t_type[0],None) @@ -150,6 +151,7 @@ class DoxyTypes(object): # remove macros v_definition = re.sub('KRB5_CALLCONV_C', '', v_definition) v_definition = re.sub('KRB5_CALLCONV', '', v_definition) + v_definition = re.sub('\*', '\\*', v_definition) variable_descr = {'category': 'variable', 'definition': v_definition, -- 2.26.2