From a455fa172098cd83038b139e1c9ca9d5bf2faed7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Sun, 19 Jun 2011 18:55:49 +0200 Subject: sed-callbacks eats comments --- tools/sed-callbacks | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.1-2-g2b99