mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-17 18:40:02 +00:00
engine: common: add quote symbol escaping support (#411)
This commit is contained in:
parent
f5e400de69
commit
ddc4d76668
6
.gitignore
vendored
6
.gitignore
vendored
@ -326,3 +326,9 @@ __pycache__
|
|||||||
*.vcproj
|
*.vcproj
|
||||||
*.sln
|
*.sln
|
||||||
*.vcxproj
|
*.vcxproj
|
||||||
|
|
||||||
|
# Visual Studio Code
|
||||||
|
.vscode/*
|
||||||
|
*.code-workspace
|
||||||
|
.history/*
|
||||||
|
.cache/*
|
@ -521,6 +521,12 @@ skipwhite:
|
|||||||
}
|
}
|
||||||
data++;
|
data++;
|
||||||
|
|
||||||
|
if( c == '\\' && *data == '"' )
|
||||||
|
{
|
||||||
|
token[len++] = (byte)*data++;
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
if( c == '\"' )
|
if( c == '\"' )
|
||||||
{
|
{
|
||||||
token[len] = 0;
|
token[len] = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user