CommandParser: skip newline character
This commit is contained in:
parent
3fc7dc62f8
commit
3bcc360c81
@ -27,7 +27,11 @@ bool CommandParser::parse(const EncodedString & command)
|
|||||||
while (it != end)
|
while (it != end)
|
||||||
{
|
{
|
||||||
uint32_t cp = *it;
|
uint32_t cp = *it;
|
||||||
if ((quote != 0u) && (cp == quote))
|
if (cp == '\n')
|
||||||
|
{
|
||||||
|
/* Skip newline character */
|
||||||
|
}
|
||||||
|
else if ((quote != 0u) && (cp == quote))
|
||||||
{
|
{
|
||||||
quote = 0u;
|
quote = 0u;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user