Changeset 4431 for trunk/compiler

Show
Ignore:
Timestamp:
08/17/08 10:41:43 (5 months ago)
Author:
pmoura
Message:

Added support for declaring predicate aliases in the use_module/2 directive using the notation Original:Alias.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/compiler/logtalk.pl

    r4429 r4431  
    59465946    ;   throw(instantiation_error) 
    59475947    ), 
    5948     (   Pred = (Original::Alias) -> 
     5948    (   Pred = ':'(Original, Alias) -> 
    59495949        true 
    59505950    ;   (Original, Alias) = (Pred, Pred)