Package: libglib2.0-dev Version: 2.14.3-1 Severity: normal I have the following enum definition in a file called beef_instruction.h, and I want it to be converted into a GEnum derived type.
typedef enum {
BEEF_INSTRUCTION_NONE = '\0',
BEEF_INSTRUCTION_PREVIOUS = '<',
BEEF_INSTRUCTION_NEXT = '>',
BEEF_INSTRUCTION_INCREASE = '+',
BEEF_INSTRUCTION_DECREASE = '-',
BEEF_INSTRUCTION_LOOP_BEGIN = '[',
BEEF_INSTRUCTION_LOOP_END = ']',
BEEF_INSTRUCTION_READ = ',',
BEEF_INSTRUCTION_PRINT = '.',
BEEF_INSTRUCTION_TAPE_DUMP = '#'
} BeefInstructionValue;
I think the code is legit and glib-mkenums should be able to handle it, but
the value of BEEF_INSTRUCTION_READ is skipped in the output files, and the
following error message is displayed:
/usr/bin/glib-mkenums: beef_instruction.h:23: Failed to parse `
BEEF_INSTRUCTION_READ = ',', '
Please consider fixing this, or let me know if the problem lies in my code.
--
KiyuKo <eof AT kiyuko DOT org>
Resistance is futile, you will be garbage collected.
pgpIDQ3u04eAz.pgp
Description: PGP signature

