From 1a66be0b81246aea7f31fb8ca5dbbf83ede5ce16 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sun, 1 Oct 2006 11:20:15 +0000 Subject: [PATCH] Fix the prototype manglers. --- ctopy | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ctopy b/ctopy index 5ec2174..78d0754 100755 --- a/ctopy +++ b/ctopy @@ -44,9 +44,9 @@ repeat_transformations = ( # simplifying both function formal parameter lists and variable # declaration lines. We'll get rid of the remaining type stuff # in a later pass. - (r"(%(type)s)\s*\*", "\1"), # Pointer type decls - (r"(%(type)s)\s*\((%(id)s)\)","\1 \2"), # Function pointer wrappers - (r"(%(type)s)\s*(%(id)s)\[\]","\1 \2"), # Array declarators + (r"(%(type)s)\s*\*", r"\1"), # Pointer type decls + (r"(%(type)s)\s*\((%(id)s)\)", r"\1 \2"), # Function pointer wrappers + (r"(%(type)s)\s*(%(id)s)\[\]", r"\1 \2"), # Array declarators ), ( # What we're doing here is trying to get rid of variable -- 2.43.0