public: add new features to ParseFileSafe, such as disabling interpreting certain characters as separate tokens, or instead forcing them to be separate tokens

This commit is contained in:
Alibek Omarov
2026-02-28 02:49:37 +05:00
parent 56255f6de0
commit 192ed942c4
5 changed files with 92 additions and 21 deletions

View File

@@ -412,7 +412,8 @@ public:
qboolean qquoted;
char *p;
p = COM_ParseFileSafe( buf, token, PFILE_FS_TOKEN_MAX_LENGTH, 0, nullptr, &qquoted );
// filesystem_stdio expects 512 byte buffers
p = COM_ParseFileSafe( buf, token, 512, 0, nullptr, &qquoted );
if( quoted )
*quoted = qquoted;