diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-01-23 11:21:00 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-01-23 11:21:00 +0100 |
commit | 63f08a50dce1972e3496e875088caf5618b1003c (patch) | |
tree | 3728cb85dbb5cc96526c9ff78fc10121aa7f85d8 /tools | |
parent | fd510b99125983c49d2fdf3abfb82686b29b2cff (diff) | |
download | ffi-efl-63f08a50dce1972e3496e875088caf5618b1003c.zip ffi-efl-63f08a50dce1972e3496e875088caf5618b1003c.tar.gz |
tools/genruby: take care of complex enum values
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/genruby.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/genruby.rb b/tools/genruby.rb index 7d516e4..5508981 100755 --- a/tools/genruby.rb +++ b/tools/genruby.rb @@ -142,7 +142,7 @@ def gen_enums path, indent r = [] open(path+'-enums','r').readlines.each do |l| l.strip! - if not l=~/((?:typedef )?enum(?: \w+)?) \{([-A-Z0-9_=, ]+)\} (\w+)/ + if not l=~/((?:typedef )?enum(?: \w+)?) \{(.*)\} (\w+)/ puts "FIXME : #{l}\n#{indent}# FIXME" r << indent+"# #{l}\n#{indent}# FIXME" next |