mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-26 22:01:50 +00:00
switch(int) works now
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@394 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
e2ef3f2b65
commit
38343bf8a3
1 changed files with 3 additions and 0 deletions
|
@ -4684,6 +4684,9 @@ void QCC_PR_ParseStatement (void)
|
|||
case ev_function:
|
||||
e2 = QCC_PR_Statement (&pr_opcodes[OP_EQ_FNC], e, pr_casesdef[i], &patch1);
|
||||
break;
|
||||
case ev_integer:
|
||||
e2 = QCC_PR_Statement (&pr_opcodes[OP_EQ_I], e, pr_casesdef[i], &patch1);
|
||||
break;
|
||||
default:
|
||||
QCC_PR_ParseError(ERR_BADSWITCHTYPE, "Bad switch type");
|
||||
e2 = NULL;
|
||||
|
|
Loading…
Reference in a new issue