diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-01-23 10:56:15 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-01-23 10:56:15 +0100 |
commit | fd510b99125983c49d2fdf3abfb82686b29b2cff (patch) | |
tree | 6c06c63e3ec41bd1ca773be2f95f4724cf29375a /tools/sed-enums | |
parent | 4d6140d27f0f2771e9e0680d76ff7ea88decc833 (diff) | |
download | ffi-efl-fd510b99125983c49d2fdf3abfb82686b29b2cff.zip ffi-efl-fd510b99125983c49d2fdf3abfb82686b29b2cff.tar.gz |
tools/sed-enums: read complex values
Diffstat (limited to 'tools/sed-enums')
-rw-r--r-- | tools/sed-enums | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/sed-enums b/tools/sed-enums index 0c3987c..870e030 100644 --- a/tools/sed-enums +++ b/tools/sed-enums @@ -8,7 +8,7 @@ T;h # read again if { /^\s*\{/ b attrs # append each item -s/^\s*([A-Z0-9_]+)(\s*=\s*-?[0-9]+)?.*$/\1\2, / +s/^\s*([A-Z0-9_]+)(\s*=\s*[^,\/]+)?.*$/\1\2, / # goto next if subsitution fails, append pattern, loop T next;H;b attrs :next |