Merge branch 'console-silly-characters' into 'next'

Get rid of some silly behavior with certain characters in console

See merge request STJr/SRB2!1110
This commit is contained in:
Lachlan Wright 2020-09-25 08:31:08 -04:00
commit dbc32ea9ea
1 changed files with 0 additions and 11 deletions

View File

@ -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;