diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-10-13 19:01:02 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-10-14 12:23:08 +0200 |
commit | 07c147a1803270aba871c9024e021fd913cb8e2a (patch) | |
tree | d05fcecf8afc6e82b6c659b272d23029a6cc9249 /tests/02_runtime | |
parent | 05cc0ee7a7c7dc442e22dfdc22c0574ac6b3e71b (diff) |
treewide: unify error handling
Get rid of the distinction between lexer/parser errors and runtime
exceptions, use exceptions everywhere instead.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'tests/02_runtime')
-rw-r--r-- | tests/02_runtime/04_switch_case | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/02_runtime/04_switch_case b/tests/02_runtime/04_switch_case index d83667f..2102ee5 100644 --- a/tests/02_runtime/04_switch_case +++ b/tests/02_runtime/04_switch_case @@ -89,7 +89,7 @@ default -- Expect stderr -- Syntax error: more than one switch default case -In line 6, byte 2: +In line 6, byte 3: ` default:` ^-- Near here @@ -242,8 +242,8 @@ one -- Expect stderr -- Died -In test(), line 6, byte 6: - at main function ([stdin]:17:11) +In test(), line 6, byte 7: + at main function ([stdin]:17:12) ` die();` Near here -----^ |