summaryrefslogtreecommitdiffstats
path: root/tools/sed-enums
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy.zurcher@heraeus.com>2011-04-18 15:13:07 +0200
committerJérémy Zurcher <jeremy.zurcher@heraeus.com>2011-04-18 15:13:07 +0200
commitb2d1dc07f424ccf484daa27bbb259cc41859e1dd (patch)
treeb0a1648370dce8b3a3e25d464e51e8edc06f6458 /tools/sed-enums
parent407a73b868c98a2e275b2f00663f62d7b9df32b9 (diff)
downloadffi-efl-b2d1dc07f424ccf484daa27bbb259cc41859e1dd.zip
ffi-efl-b2d1dc07f424ccf484daa27bbb259cc41859e1dd.tar.gz
update tools/sed-* and tools/extract-api.sh
Diffstat (limited to 'tools/sed-enums')
-rw-r--r--tools/sed-enums2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/sed-enums b/tools/sed-enums
index 3b6c7a5..488d6e1 100644
--- a/tools/sed-enums
+++ b/tools/sed-enums
@@ -1,4 +1,4 @@
-s/.*(enum\s+\w+).*$/typedef \1 { /
+s/^\s*typedef\s+(enum(\s+\w+)?).*$/typedef \1 { /
T;h
:attrs;n
s/^\s*([A-Z0-9_]+).*$/\1, /