| | 6724 | % definition of term and goal expansion predicates without reference to the "expanding" built-in protocol |
| | 6725 | |
| | 6726 | '$lgt_tr_head'(Head, _, _, Line, Input) :- |
| | 6727 | functor(Head, Functor, 2), |
| | 6728 | once((Functor == term_expansion; Functor == goal_expansion)), |
| | 6729 | \+ '$lgt_pp_implemented_protocol_'(expanding, _, _, _), |
| | 6730 | '$lgt_compiler_flag'(report, on), |
| | 6731 | '$lgt_inc_compile_warnings_counter', |
| | 6732 | nl, write(' WARNING! Missing reference to the "expanding" built-in protocol: '), |
| | 6733 | writeq(Functor/3), |
| | 6734 | nl, '$lgt_report_compiler_error_line_number'(Line, Input), |
| | 6735 | fail. |
| | 6736 | |
| | 6737 | |