mirror of
				https://github.com/janet-lang/janet
				synced 2025-10-30 23:23:07 +00:00 
			
		
		
		
	Allow parser to parse files rather than just a repl. I think
there are some memory leak issues (problems with gc).
This commit is contained in:
		| @@ -254,7 +254,7 @@ const GstValue *gst_struct_end(Gst *vm, GstValue *st) { | ||||
|  | ||||
| /* Get an item from a struct */ | ||||
| GstValue gst_struct_get(const GstValue *st, GstValue key) { | ||||
|     GstValue *bucket = gst_struct_find(st, key); | ||||
|     const GstValue *bucket = gst_struct_find(st, key); | ||||
|     if (!bucket || bucket[0].type == GST_NIL) { | ||||
|         GstValue ret; | ||||
|         ret.type = GST_NIL; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Calvin Rose
					Calvin Rose