static Type get_force_type(const Env env, const Type t) {
const size_t len = strlen(t->name);
- char name[len + STRLEN_FORCE + 1];
+ char name[len + STRLEN_FORCE + 2];
strcpy(name, t->name);
strcpy(name + len, STR_FORCE);
const Symbol sym = insert_symbol(env->gwion->st, name);
#include "object.h"
#include "import.h"
#include "emit.h"
+#include "traverse.h"
#include "parse.h"
static inline m_str access(ae_Exp_Meta meta) {
const Exp_Unary* unary = (Exp_Unary*)data;
CHECK_OO(opck_unary_meta2(env, data))
if(unary->exp->next)
- ERR_N(stmt_self(unary)->pos, "fuck!!")
+ ERR_N(exp_self(unary)->pos, "fuck!!")
return t_int;
}
num_digit((m_uint)lhs.y) + num_digit((m_uint)lhs.z) + num_digit((m_uint)lhs.w),,
"@(%f, %f, %f, %f)%s", lhs.x, lhs.y, lhs.z, lhs.w, rhs ? STRING(rhs) : "")
describe_string(Object, M_Object, SZ_INT,
- 11 + (rhs ? strlen(STRING(rhs)) : 0), release(lhs, shred),
+ 16 + (rhs ? strlen(STRING(rhs)) : 0), release(lhs, shred),
"%p%s", (void*)lhs, rhs ? STRING(rhs) : "")