summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/genruby.rb2
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