From 05cc0ee7a7c7dc442e22dfdc22c0574ac6b3e71b Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 12 Oct 2020 19:49:41 +0200 Subject: treewide: rework source file and callstack handling - Keep an open FILE* reference to processed source files in order to be able to rewind and extract error context later - Build a proper call stack when invoking utpl functions - Report call stack in exceptions Signed-off-by: Jo-Philipp Wich --- tests/02_runtime/04_switch_case | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/02_runtime') diff --git a/tests/02_runtime/04_switch_case b/tests/02_runtime/04_switch_case index 4a9d3e9..d83667f 100644 --- a/tests/02_runtime/04_switch_case +++ b/tests/02_runtime/04_switch_case @@ -242,7 +242,8 @@ one -- Expect stderr -- Died -In line 6, byte 6: +In test(), line 6, byte 6: + at main function ([stdin]:17:11) ` die();` Near here -----^ -- cgit v1.2.3