diff options
author | Johan Dahlin <johan@gnome.org> | 2010-09-26 12:47:01 -0300 |
---|---|---|
committer | Johan Dahlin <johan@gnome.org> | 2010-09-26 12:47:01 -0300 |
commit | 60a8c752b300470f33994be75b72a91cf349b6f0 (patch) | |
tree | 283b282df8fc91cc1e34bb78eab06276ab964aea /giscanner/scannerparser.y | |
parent | 478b318909b01d5269407df1d274c77720cde05b (diff) | |
download | gobject-introspection-60a8c752b300470f33994be75b72a91cf349b6f0.tar.gz |
[scanner] Mark enum members as private in transformer
Remove enum members which follows /* <private> */ comments
inside the transformer instead of the sourcescanner itself.
Fixes a crash when creating the gir for GstBase.
Diffstat (limited to 'giscanner/scannerparser.y')
-rw-r--r-- | giscanner/scannerparser.y | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/giscanner/scannerparser.y b/giscanner/scannerparser.y index d5f9a65c..4d85e33e 100644 --- a/giscanner/scannerparser.y +++ b/giscanner/scannerparser.y @@ -878,17 +878,11 @@ enumerator_list } enumerator { - if (!scanner->private) - { - $$ = g_list_append (NULL, $2); - } + $$ = g_list_append (NULL, $2); } | enumerator_list ',' enumerator { - if (!scanner->private) - { - $$ = g_list_append ($1, $3); - } + $$ = g_list_append ($1, $3); } ; |