diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-02-17 09:10:21 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-02-17 09:10:21 +0100 |
commit | bd1d327ea83589cb8771dd8c3581b499d80a9983 (patch) | |
tree | dc8ad762b45695bd56594a6b214295b15e20e7af /tools | |
parent | cfc1d6b1393c9211c4a03dbd32e77ef5bbb203d7 (diff) | |
download | ffi-efl-bd1d327ea83589cb8771dd8c3581b499d80a9983.zip ffi-efl-bd1d327ea83589cb8771dd8c3581b499d80a9983.tar.gz |
tools/genruby.rb: accept functions with no parameters
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 58e5f91..f6588e6 100755 --- a/tools/genruby.rb +++ b/tools/genruby.rb @@ -256,7 +256,7 @@ def gen_functions path, indent r << indent+"fcts = [" open(path+'-functions','r').readlines.each do |l| l.strip! - if not l=~ /EAPI ([a-zA-Z0-9_\* ]+?)(\w+) ?\(([a-zA-Z0-9_ \*,\.]+)\)( *[A-Z]{2,})?/ + if not l=~ /EAPI ([a-zA-Z0-9_\* ]+?)(\w+) ?\(([a-zA-Z0-9_ \*,\.]*)\)( *[A-Z]{2,})?/ puts "# #{l}\n#{indent}# FIXME" r << indent+"# #{l}\n#{indent}# FIXME" next |