Browse Source

engine: common: add quote symbol escaping support (#411)

pull/431/head
Bohdan Shulyar 7 months ago
committed by GitHub
parent
commit
ddc4d76668
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      .gitignore
  2. 6
      engine/common/common.c

6
.gitignore

@ -326,3 +326,9 @@ __pycache__
*.vcproj
*.sln
*.vcxproj
# Visual Studio Code
.vscode/*
*.code-workspace
.history/*
.cache/*

6
engine/common/common.c

@ -521,6 +521,12 @@ skipwhite:
}
data++;
if( c == '\\' && *data == '"' )
{
token[len++] = (byte)*data++;
continue;
}
if( c == '\"' )
{
token[len] = 0;

Loading…
Cancel
Save