Fix inline enum (#2393)
This commit is contained in:
parent
4954778f68
commit
3d812f8d0c
1 changed files with 10 additions and 10 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue