瀏覽代碼

Sol Part 66.1: Shhh...Don't Tell Anybody!

master
Graham Northup 4 年之前
父節點
當前提交
f1a579b333
簽署人: grissess GPG Key ID: 5D000E6F539376FB
  1. 4
      runtime.c
  2. 6
      sol.h

4
runtime.c

@ -764,10 +764,10 @@ sol_object_t *sol_eval_inner(sol_state_t *state, expr_node *expr, jmp_buf jmp) {
res = CALL_METHOD(state, left, setindex, list);
sol_obj_free(left);
sol_obj_free(right);
sol_obj_free(value);
sol_obj_free(res);
sol_obj_free(list);
ERR_CHECK(state);
return res;
return value;
break;
case EX_ASSIGN:

6
sol.h

@ -10,7 +10,7 @@
#include "dsl/dsl.h"
/** The version of the project, as made available through `debug.version`. */
#define SOL_VERSION "0.5a1"
#define SOL_VERSION "0.5a2"
/** The hexadecimal version of the project, formatted 0xAAIIRPP where:
*
* - AA is the two-digit major version
@ -23,7 +23,7 @@
* version shall be available in all versions numerically greater than it
* (unless they are later deprecated or removed).
*/
#define SOL_HEXVER 0x0004A00
#define SOL_HEXVER 0x0005A02
#ifndef SOL_BUILD_HOST
#define SOL_BUILD_HOST "(unknown host)"
@ -41,7 +41,7 @@
#define SOL_BUILD_REV "(unknown rev)"
#endif
#define SOL_BUILD_ID "sol-" SOL_BUILD_REV " " __DATE__ " " __TIME__ " on " SOL_BUILD_HOST " " SOL_BUILD_KERNEL " " SOL_BUILD_ARCH
#define SOL_BUILD_ID "sol " SOL_VERSION "-" SOL_BUILD_REV " " __DATE__ " " __TIME__ " on " SOL_BUILD_HOST " " SOL_BUILD_KERNEL " " SOL_BUILD_ARCH
#ifndef SOL_ICACHE_MIN
/** The smallest integer to cache. */

Loading…
取消
儲存