Small parser bugfix

This commit is contained in:
Marcel 2021-06-02 20:38:19 +02:00
parent d1ac38171c
commit 3b46d87100

View File

@ -173,7 +173,7 @@ int main()
validStruct = true;
break;
}
else if (buffer[i + j] == ';')
else if (buffer[i + c] == ';')
{
// Not valid struct:
// i.e typedef struct rAudioBuffer rAudioBuffer; -> Typedef and forward declaration