mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-21 00:25:44 +00:00
Fix ZoneDefinition parser condition for leaving out slashes
This commit is contained in:
parent
a7860c7c76
commit
5f6d976748
@ -36,7 +36,7 @@ std::unique_ptr<ZoneDefinitionCommonMatchers::matcher_t> ZoneDefinitionCommonMat
|
|||||||
case SimpleParserValueType::CHARACTER:
|
case SimpleParserValueType::CHARACTER:
|
||||||
if (token.get().CharacterValue() == '/')
|
if (token.get().CharacterValue() == '/')
|
||||||
{
|
{
|
||||||
if (previousType == SimpleParserValueType::CHARACTER && !previousCharacterWasSlash)
|
if (previousType != SimpleParserValueType::CHARACTER || !previousCharacterWasSlash)
|
||||||
{
|
{
|
||||||
str << "/";
|
str << "/";
|
||||||
previousCharacterWasSlash = true;
|
previousCharacterWasSlash = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user