mirror of https://gitlab.com/basile.b/dexed.git
reduce need for patching single quotes in symlist data
This commit is contained in:
parent
58f1d651ff
commit
7ed7d51e27
|
@ -195,6 +195,16 @@ private void fillBadVersions()
|
|||
*/
|
||||
string patchPascalString(size_t lenLimit = 0)(string value)
|
||||
{
|
||||
bool needed;
|
||||
foreach(i; 0 .. value.length)
|
||||
if (value[i] == '\'')
|
||||
{
|
||||
needed = true;
|
||||
break;
|
||||
}
|
||||
if (!needed)
|
||||
return value;
|
||||
|
||||
Appender!string app;
|
||||
static if (lenLimit)
|
||||
const size_t len = value.length > 100 ? 100 : value.length;
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit a69006e93599d4c450d0348c8875d109dcc74757
|
||||
Subproject commit 1b0df8cb838adfb73889faaea524d6d6a473a5df
|
Loading…
Reference in New Issue