summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-06-19 18:55:49 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-06-19 18:55:49 +0200
commita455fa172098cd83038b139e1c9ca9d5bf2faed7 (patch)
tree69d326d77f5d527c6285290ecea947a8db96ea28
parent5536c27be7582cb212b6ee0ce026fc0c37be733d (diff)
downloadffi-efl-a455fa172098cd83038b139e1c9ca9d5bf2faed7.zip
ffi-efl-a455fa172098cd83038b139e1c9ca9d5bf2faed7.tar.gz
sed-callbacks eats comments
-rw-r--r--tools/sed-callbacks2
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