Merge pull request #162 from lioncash/build-fix

Fix the build.
This commit is contained in:
Alexandro Sánchez Bach 2014-04-02 21:02:41 +02:00
commit 91958ce1cb
1 changed files with 3 additions and 2 deletions

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,6 +426,7 @@ void CompilePPUProgram::DetectArgInfo(Arg& arg)
}
arg.value = reg;
}
return;
case 'c':