GNOME Bugzilla – Bug 364709
glib-mkenums: parse_trigraph() chokes on quoted commas
Last modified: 2018-05-24 10:53:08 UTC
In the constructed case: typedef enum { FOO_VALUE /*< name="eek, a comma" >*/ } Foo; The quoted comma breaks parsing in glib-mkenums, line 26 where is does: for $opt (split /\s*,\s*/, $opts) { Replacing this by: for $opt (quotewords(",", "true", $opts)) { Works fine in gimp-mkenums, which supports quoted commas.
is tehre a better use case than "ee, a comma"? i.e. why would you put a comma there if you don't eek?
Yes there is or was in gimp, but I don't find it right now. Regardless, a comma within quotes should not be interpreted as a field separator, right?
*** Bug 506986 has been marked as a duplicate of this bug. ***
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/glib/issues/65.