mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-13 08:27:39 +00:00
6ff2644ab5
It turns out no code was being generated for x = *y. Ouch. I suspect I need to take a better look at expr_deref at some time in the not too distant future. Conflicts: tools/qfcc/source/statements.c
14 lines
193 B
R
14 lines
193 B
R
void
|
|
ptrderef (int *to, int *from)
|
|
{
|
|
int x;
|
|
|
|
x = *from;
|
|
x = *from++;
|
|
x = *++from;
|
|
//x = ++*from; FIXME syntax error (valid C)
|
|
to = from++;
|
|
to = ++from;
|
|
*to = *from++;
|
|
*to = *++from;
|
|
}
|