mirror of
				https://github.com/janet-lang/janet
				synced 2025-10-31 15:43:01 +00:00 
			
		
		
		
	Add source file info on macro compiler error.
This commit is contained in:
		| @@ -1783,7 +1783,7 @@ | ||||
|   [msg macrof where] | ||||
|   (def ec (dyn :err-color)) | ||||
|   (if macrof | ||||
|     (debug/stacktrace macrof msg) | ||||
|     (debug/stacktrace macrof (string msg " while compiling " where)) | ||||
|     (eprint | ||||
|       (if ec "\e[31m" "") | ||||
|       "compile error: " | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Calvin Rose
					Calvin Rose