From 2efb5a36caa32ac5df7709898f37c040958ec56c Mon Sep 17 00:00:00 2001 From: Deathbat2190 Date: Wed, 2 Jun 2021 20:47:37 +0200 Subject: [PATCH] Small parser bugfix (#1805) --- parser/raylib_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parser/raylib_parser.c b/parser/raylib_parser.c index da426a97..141901f5 100644 --- a/parser/raylib_parser.c +++ b/parser/raylib_parser.c @@ -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