mirror of
				https://github.com/janet-lang/janet
				synced 2025-10-31 15:43:01 +00:00 
			
		
		
		
	Make parser errors a bit better for files with no closing
delimiters.
This commit is contained in:
		| @@ -1454,6 +1454,12 @@ value, one key will be ignored." | ||||
|                   nil | ||||
|                   where)))) | ||||
|  | ||||
|   (if (= (parser/status p) :pending) | ||||
|         (onstatus :parse  | ||||
|                   (string "unmatched delimiters " (parser/state p)) | ||||
|                   nil | ||||
|                   where)) | ||||
|  | ||||
|   (set *env* oldenv) | ||||
|  | ||||
|   env) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Calvin Rose
					Calvin Rose