summaryrefslogtreecommitdiffstats
path: root/tools/sed-enums
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-05-05 11:27:17 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-05-05 11:27:17 +0200
commit555ca720c10b58075bc7c2b67c21d2e7088d7b9c (patch)
tree1d2812269107bd8e231343bf925df25881433e43 /tools/sed-enums
parente6cbc2a69984ea2a71d5099e4ca19a938cd92978 (diff)
downloadffi-efl-555ca720c10b58075bc7c2b67c21d2e7088d7b9c.zip
ffi-efl-555ca720c10b58075bc7c2b67c21d2e7088d7b9c.tar.gz
bugfix : sed-enums, regenerate ffi
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 3c30476..4599859 100644
--- a/tools/sed-enums
+++ b/tools/sed-enums
@@ -1,7 +1,7 @@
s/^\s*typedef\s+(enum(\s+\w+)?).*$/typedef \1 { /
T;h
:attrs;n
-s/^\s*([A-Z0-9_]+)(\s*=\s*-?[0-9])?.*$/\1\2, /
+s/^\s*([A-Z0-9_]+)(\s*=\s*-?[0-9]+)?.*$/\1\2, /
T next;H;b attrs
:next
/^\s*\}/ ! b attrs