[glib/wip/meson] glib-mkenums: pick up /*< nick=xyz >*/ annotation again



commit c14880e13ec146dd691ca109f54e69aead9525c3
Author: Tim-Philipp Müller <tim centricular com>
Date:   Mon Jun 26 23:50:01 2017 +0100

    glib-mkenums: pick up /*< nick=xyz >*/ annotation again
    
    ... in glib-mkenums python port.
    
    Was parsed correctly but then skipped due to inverted condition.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=779332

 gobject/glib-mkenums.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gobject/glib-mkenums.in b/gobject/glib-mkenums.in
index 147a9ce..386faf1 100755
--- a/gobject/glib-mkenums.in
+++ b/gobject/glib-mkenums.in
@@ -131,7 +131,7 @@ def parse_entries(file, file_name):
 
             if options is not None:
                 options = parse_trigraph(options)
-                if 'skip' in options:
+                if 'skip' not in options:
                     entries.append((name, value, options['nick']));
             else:
                 entries.append((name, value))


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]