From f8f8be9870ecf1df6ef3cc5c5cb15417ef361e8c Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Fri, 19 Apr 2024 13:13:17 +0200 Subject: [PATCH] Squirrel: fix struct name bufCopy is actually bufPos as this indicated the current pos in the text buffer as it gets parsed out. --- src/vscript/languages/squirrel_re/include/sqstate.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vscript/languages/squirrel_re/include/sqstate.h b/src/vscript/languages/squirrel_re/include/sqstate.h index 01aefb85..1d6c600f 100644 --- a/src/vscript/languages/squirrel_re/include/sqstate.h +++ b/src/vscript/languages/squirrel_re/include/sqstate.h @@ -75,13 +75,13 @@ struct SQBufState { const SQChar* buf; const SQChar* bufTail; - const SQChar* bufCopy; + const SQChar* bufPos; SQBufState(const SQChar* code) { buf = code; bufTail = code + strlen(code); - bufCopy = code; + bufPos = code; } }; #endif // SQSTATE_H \ No newline at end of file