Adding comments broke constants parsing
Parsing of the
grl-metadata-key.h file in grilo broke after a comment was added after one of the constants defined in that header.
Header generating broken gir file: https://gitlab.gnome.org/GNOME/grilo/blob/master/src/grl-metadata-key.h#L119 Header generating working gir file: https://gitlab.gnome.org/GNOME/grilo/blob/d6fad8022b74e21c489ff8633535657b9cb474b3/src/grl-metadata-key.h#L119
The difference between the 2 is that there's no constants defined after the one with value
Grl-0.3.gir. The functions listed after those definitions are parsed correctly.
This should show an output, which it doesn't after the comment is added:
$ grep GRL_METADATA_KEY_MB_TRACK_ID <install-path>/share/gir-1.0/Grl-0.3.gir
Tested with grilo and gobject-introspection current main branches.