Fix the problem with a wildcard in typedefs
authorZhanna Tsitkov <tsitkova@mit.edu>
Tue, 12 Jul 2011 15:56:46 +0000 (15:56 +0000)
committerZhanna Tsitkov <tsitkova@mit.edu>
Tue, 12 Jul 2011 15:56:46 +0000 (15:56 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25019 dc483132-0cff-0310-8789-dd5450dbe970

doc/rst_tools/doxybuilder_types.py

index 8d1d32e34deda5cd17cefcc594bf25b0f91544e6..bf76c1d77891a68e6ae383ad9ffbd1ff00c65f56 100644 (file)
@@ -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,