From: Zhanna Tsitkov Date: Tue, 12 Jul 2011 15:56:46 +0000 (+0000) Subject: Fix the problem with a wildcard in typedefs X-Git-Tag: krb5-1.10-alpha1~356 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f04b51b14c8ee4519cb1e5e8cea3d4a9d25ea827;p=krb5.git Fix the problem with a wildcard in typedefs git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25019 dc483132-0cff-0310-8789-dd5450dbe970 --- 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,