diff options
-rw-r--r-- | tools/sed-callbacks | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/sed-callbacks b/tools/sed-callbacks index 37444a8..4a2e27f 100644 --- a/tools/sed-callbacks +++ b/tools/sed-callbacks @@ -1,4 +1,4 @@ -s/^\s*typedef\s+(.*)(\(\*?\w+\))?\s*(\(.*\));/typedef \1 \2 \3;/ +s/^\s*typedef\s+(.*)(\(\*?\w+\))?\s*(\(.*\));.*$/typedef \1 \2 \3;/ t finish s/^\s*typedef\s+(.*)(\(\*?\w+\))?\s*(\(.*,)/typedef \1 \2 \3/ T;h |