Browse Source

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

Graham Northup 3 years ago
parent
commit
f1a579b333
Signed by: Graham Northup <grissess@nexusg.org> GPG Key ID: 5D000E6F539376FB
2 changed files with 5 additions and 5 deletions
  1. 2
    2
      runtime.c
  2. 3
    3
      sol.h

+ 2
- 2
runtime.c View File

@@ -764,10 +764,10 @@ sol_object_t *sol_eval_inner(sol_state_t *state, expr_node *expr, jmp_buf jmp) {
764 764
 			res = CALL_METHOD(state, left, setindex, list);
765 765
 			sol_obj_free(left);
766 766
 			sol_obj_free(right);
767
-			sol_obj_free(value);
767
+			sol_obj_free(res);
768 768
 			sol_obj_free(list);
769 769
 			ERR_CHECK(state);
770
-			return res;
770
+			return value;
771 771
 			break;
772 772
 
773 773
 		case EX_ASSIGN:

+ 3
- 3
sol.h View File

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

Loading…
Cancel
Save