mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 14:12:16 +03:00
Добавялем обработку в строке \\ в сценарии
This commit is contained in:
@@ -744,6 +744,8 @@ int IoTScenario::gettok() {
|
|||||||
IdentifierStr += '"';
|
IdentifierStr += '"';
|
||||||
} else if (LastChar == 'n') {
|
} else if (LastChar == 'n') {
|
||||||
IdentifierStr += '\n';
|
IdentifierStr += '\n';
|
||||||
|
} else if (LastChar == '\\') {
|
||||||
|
IdentifierStr += '\\';
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
IdentifierStr += (char)LastChar;
|
IdentifierStr += (char)LastChar;
|
||||||
|
|||||||
Reference in New Issue
Block a user