diff options
Diffstat (limited to 'gobject/glib-mkenums.in')
-rwxr-xr-x | gobject/glib-mkenums.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gobject/glib-mkenums.in b/gobject/glib-mkenums.in index 6782e0b79..f4bf92c47 100755 --- a/gobject/glib-mkenums.in +++ b/gobject/glib-mkenums.in @@ -267,6 +267,7 @@ while (<>) { (?:/\*< (([^*]|\*(?!/))*) >\s*\*/)? + ({)? @x) { if (defined $2) { my %options = parse_trigraph ($2); @@ -280,7 +281,7 @@ while (<>) { $option_lowercase_name = undef; } # Didn't have trailing '{' look on next lines - if (!defined $1) { + if (!defined $1 && !defined $3) { while (<>) { if (s/^\s*\{//) { last; |