mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-24 04:41:25 +00:00
removing ast-test macro concept
This commit is contained in:
parent
87b08247a1
commit
704394c0a2
1 changed files with 0 additions and 19 deletions
|
@ -1,25 +1,6 @@
|
|||
#ifndef TEST_AST_MACROS_HDR
|
||||
#define TEST_AST_MACROS_HDR
|
||||
|
||||
#if 0
|
||||
VAR(TYPE_FLOAT, i);
|
||||
VAR(TYPE_FLOAT, x);
|
||||
|
||||
VAR(TYPE_FLOAT, f0);
|
||||
VAR(TYPE_FLOAT, f1);
|
||||
VAR(TYPE_FLOAT, f5);
|
||||
|
||||
MKCONSTFLOAT(f0, 0.0);
|
||||
MKCONSTFLOAT(f1, 1.0);
|
||||
MKCONSTFLOAT(f5, 5.0);
|
||||
|
||||
STATE(ASSIGN(STORE_F, i, f0));
|
||||
WHILE(BIN(LT, i, f5));
|
||||
STATE(ASSIGN(STORE_F, x, BIN(MUL_F, i, f5)));
|
||||
STATE(ASSIGN(STORE_F, i, BIN(ADD_F, i, f1)));
|
||||
ENDWHILE();
|
||||
#endif
|
||||
|
||||
#define TESTVARS() \
|
||||
ast_block *curblock; \
|
||||
lex_ctx ctx
|
||||
|
|
Loading…
Reference in a new issue