From: Wolfgang (Blub) Bumiller Date: Sat, 11 Aug 2012 16:09:45 +0000 (+0200) Subject: testcase for print(ftos(pawn.mema)) slightly changed, now not using a temporary location X-Git-Tag: 0.1-rc1~349^2~11 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=3f234591da69bf113ec059b1100aee74c7f5b9dd;p=xonotic%2Fgmqcc.git testcase for print(ftos(pawn.mema)) slightly changed, now not using a temporary location --- diff --git a/test/ast-test.c b/test/ast-test.c index 7a80b91..2fb587e 100644 --- a/test/ast-test.c +++ b/test/ast-test.c @@ -100,11 +100,19 @@ FUNCTION(main, TYPE_VOID); STATE(ASSIGN(STOREP_F, ENTFIELD(pawn, mema), f5)); CALL(ftos) CALLPARAM(ENTFIELD(pawn, mema)) +#if 0 ENDCALLWITH(output, STATE(ASSIGN(STORE_F, vi, output))); CALL(print) CALLPARAM(vi) ENDCALL(); +#else + ENDCALLWITH(output, + CALL(print) + CALLPARAM(output) + ENDCALL(); + ); +#endif ENDFUNCTION(main);