Fix fteqcc struct args.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5541 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2019-09-11 17:35:03 +00:00
parent c6917a5f8c
commit 22b494f171
2 changed files with 6 additions and 2 deletions

View File

@ -5723,7 +5723,11 @@ QCC_sref_t QCC_PR_GenerateFunctionCallRef (QCC_sref_t newself, QCC_sref_t func,
parm++;
}
else
QCC_FreeTemp(QCC_PR_StatementFlags (&pr_opcodes[copyop_v?copyop_v:copyop_i], src, args[parm-1].ref, NULL, STFL_PRESERVEB));
{
QCC_sref_t t = args[parm-1].ref;
t.ofs += ofs%3;
QCC_FreeTemp(QCC_PR_StatementFlags (&pr_opcodes[copyop_v?copyop_v:copyop_i], src, t, NULL, STFL_PRESERVEB));
}
}
else
{

View File

@ -947,7 +947,7 @@ public:
return false; //some other file that we're not interested in
}
s->annotate(linenum-1, s->annotation(linenum) + line + "\n", 0);
s->annotate(linenum-1, s->annotation(linenum-1) + line + "\n", 0);
return true;
}