mirror of
https://github.com/nzp-team/fteqw.git
synced 2025-02-24 12:21:19 +00:00
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:
parent
c6917a5f8c
commit
22b494f171
2 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue