]> Repositorios git - scryer-prolog.git/commitdiff
set throw() to follow ISO recommendations
authorCyrille Duret <[email protected]>
Wed, 15 Jul 2020 16:26:57 +0000 (18:26 +0200)
committerCyrille Duret <[email protected]>
Wed, 15 Jul 2020 16:26:57 +0000 (18:26 +0200)
src/lib/csv.pl

index b294b2b09d44bc092b29031a33090a49e3928c41..78775871be0c7deadd68000e3df0a7d21274b69f 100644 (file)
@@ -63,7 +63,7 @@
 
 option(W, O) :-
   ( member(W, O) -> true
-  ; throw(not_found_error(W, O))).
+  ; throw(error(unknown_opt_error(W, O), option/2)).
 
 
 option_extends([], Opt, Opt).