Fix the build.

This commit is contained in:
Lioncash 2014-04-02 14:39:39 -04:00
parent fc9a90e220
commit 1aff35f669

View File

@ -386,7 +386,7 @@ void CompilePPUProgram::DetectArgInfo(Arg& arg)
switch((char)str[0])
{
case 'r': case 'f': case 'v':
{
if(str.length() < 2)
{
arg.type = ARG_ERR;
@ -426,8 +426,9 @@ void CompilePPUProgram::DetectArgInfo(Arg& arg)
}
arg.value = reg;
}
return;
case 'c':
if(str.length() > 2 && str[1] == 'r')
{