glib-mkenums: Missing file-production section when source file ends in multi-line comment
Submitted by Stephen Kennedy
Link to original bug (#616994)
Description
Created attachment 159726 input files to approduce bug
When a source file ends in a multi-line comment, the file-production section for the following file is missing from the output of glib-mkenums. Using the attached input files:
glib-mkenums --template ./enum-types.c.in foo-enum1.h foo-enum2.h
causes the file-production section of the template to be missing for foo-enum2.h, seemingly because foo-enum1.h ends in a multi-line comment.
glib-mkenums --template ./enum-types.c.in foo-enum2.h foo-enum1.h
works as expected, because foo-enum2.h ends with a single line comment.
Attachment 159726, "input files to approduce bug":
input-files.tar.bz2
Version: 2.25.x