- Timestamp:
- 06/07/08 03:26:26 (3 months ago)
- Location:
- trunk
- Files:
-
- 2 modified
-
compiler/logtalk.pl (modified) (3 diffs)
-
RELEASE_NOTES.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/compiler/logtalk.pl
r4300 r4303 294 294 % top-level runtime error handler 295 295 296 '$lgt_runtime_error_handler'(Variable) :- 297 var(Variable), 298 throw(error(instantiation_error, throw(_))). 299 300 '$lgt_runtime_error_handler'(error(Variable)) :- 301 var(Variable), 302 throw(error(instantiation_error, throw(_))). 303 304 '$lgt_runtime_error_handler'(error(Variable, Sender)) :- 305 var(Variable), 306 throw(error(instantiation_error, throw(_), Sender)). 307 296 308 '$lgt_runtime_error_handler'(error(existence_error(goal_thread, '$lgt_send_to_object_ne_nv'(Self, Goal, Sender)), _)) :- 297 309 ( Self == user -> … … 381 393 !, 382 394 fail. 395 396 '$lgt_runtime_error_handler'(error(Variable, _, Sender)) :- 397 var(Variable), 398 throw(error(instantiation_error, throw(_), Sender)). 383 399 384 400 '$lgt_runtime_error_handler'(error(Error, user::Goal, user)) :- … … 7492 7508 7493 7509 7494 '$lgt_tr_meta_arg'( *, Arg, _, Arg, Arg).7495 7496 '$lgt_tr_meta_arg'( ::, Arg, Ctx, TArg, DArg) :-7510 '$lgt_tr_meta_arg'((*), Arg, _, Arg, Arg). 7511 7512 '$lgt_tr_meta_arg'((::), Arg, Ctx, TArg, DArg) :- 7497 7513 '$lgt_tr_body'(Arg, TArg, DArg, Ctx). 7498 7514 -
trunk/RELEASE_NOTES.txt
r4301 r4303 19 19 initialization/1 is still available (for now) for Prolog compilers that 20 20 fail to support the thirteen years old ISO Prolog standard. 21 22 Updated the Logtalk runtime error handler to test for non-instantiated 23 exception terms. Thanks to Joerg Schuster for the bug report. 21 24 22 25 Added a new default compiler option, multifile_directive, to all config
