Squirrel: fix struct name

bufCopy is actually bufPos as this indicated the current pos in the text buffer as it gets parsed out.
This commit is contained in:
Kawe Mazidjatari 2024-04-19 13:13:17 +02:00
parent d4f9ac279c
commit b622854d85

View File

@ -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