From 156d244a87ab5a8e0ef86b132c2846521d09b3c7 Mon Sep 17 00:00:00 2001 From: lazaray <104470294+lazaray@users.noreply.github.com> Date: Tue, 3 May 2022 14:53:33 +0200 Subject: [PATCH] Fix parser function description detection Some functions in easings.h are defined on a single line and include a division which was mistaken for the start of the description. --- 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 01cdc1ac7..0b94fcefa 100644 --- a/parser/raylib_parser.c +++ b/parser/raylib_parser.c @@ -728,7 +728,7 @@ int main(int argc, char* argv[]) // Get function description for (int c = funcEnd; c < MAX_LINE_LENGTH; c++) { - if (funcLines[i][c] == '/') + if ((funcLines[i][c] == '/') && (funcLines[i][c + 1] == '/')) { MemoryCopy(funcs[i].desc, &funcLines[i][c], 127); // WARNING: Size could be too long for funcLines[i][c]? break;