mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-22 10:52:23 +00:00
Stop treating apostrophes, parenthesis and curly braces as separate arguments
This commit is contained in:
parent
3e02f5d0cb
commit
4734b9d728
1 changed files with 0 additions and 11 deletions
|
@ -2370,15 +2370,6 @@ skipwhite:
|
|||
}
|
||||
}
|
||||
|
||||
// parse single characters
|
||||
if (c == '{' || c == '}' || c == ')' || c == '(' || c == '\'')
|
||||
{
|
||||
com_token[len] = c;
|
||||
len++;
|
||||
com_token[len] = 0;
|
||||
return data + 1;
|
||||
}
|
||||
|
||||
// parse a regular word
|
||||
do
|
||||
{
|
||||
|
@ -2398,8 +2389,6 @@ skipwhite:
|
|||
len++;
|
||||
c = *data;
|
||||
}
|
||||
if (c == '{' || c == '}' || c == ')'|| c == '(' || c == '\'')
|
||||
break;
|
||||
} while (c > 32);
|
||||
|
||||
com_token[len] = 0;
|
||||
|
|
Loading…
Reference in a new issue