mirror of
https://github.com/raysan5/raylib.git
synced 2026-02-07 22:59:17 -05:00
Fix inline enum (#2393)
This commit is contained in:
@ -241,7 +241,7 @@ int main(int argc, char* argv[])
|
||||
for (int i = 0; i < linesCount; i++)
|
||||
{
|
||||
// Read enum line
|
||||
if (IsTextEqual(lines[i], "typedef enum {", 14))
|
||||
if (IsTextEqual(lines[i], "typedef enum {", 14) && lines[i][TextLength(lines[i])-1] != ';') // ignore inline enums
|
||||
{
|
||||
// Keep the line position in the array of lines,
|
||||
// so, we can scan that position and following lines
|
||||
|
||||
Reference in New Issue
Block a user