chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"bind" egg bug - trailing comma in enum declaration


From: DeciPaliz
Subject: "bind" egg bug - trailing comma in enum declaration
Date: Sat, 13 Apr 2024 23:29:01 +0300

Hello! I found a bug within the "bind" egg: Error: invalid enum syntax: () is thrown when processing an enum with a trailing comma, for example:

typedef enum {
    TEST_A = 100,
    TEST_B = 101,
    TEST_C = 102,
} TestEnum;


This error isn't thrown when the comma after TEST_C = 102 is omitted.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]