~petitjean-sim/xmg-ng/xmg-ng.dev

« back to all changes in this revision

Viewing changes to contributions/core/bricks/mg/compiler/generator.yap

  • Committer: Simon Petitjean
  • Date: 2017-04-03 16:51:05 UTC
  • Revision ID: petitjean.sim@gmail.com-20170403165105-oia1ddawekydjumm
threads in preparers for plugins

Show diffs side-by-side

added added

removed removed

Lines of Context:
205
205
        import_calls(T,List,T1),
206
206
        ICalls=..[',',Gen,T1],!.
207
207
import_calls([H|T],List,ICalls):--
208
 
        xmg:send(info,' could not call '),
 
208
        xmg:send(info,'\nError: could not call '),
209
209
        xmg:send(info,H),false,!.
210
210
 
211
211
 
245
245
get_params([id(ID,_)|T],List,[Var|T1]):--
246
246
        decls::tget(ID,Var),
247
247
        %lists:member(id(ID,_)-Var,List),
248
 
        get_params(T,List,T1),!.
 
248
        get_params(T,List,T1),!.
 
249
get_params([id(ID,_)|T],List,[ID|T1]):--
 
250
        %% Here ID is a constant
 
251
        get_params(T,List,T1),                           
 
252
          !.
249
253
 
250
254
callDims([],[]):-!.
251
255
callDims([iface-IFace|T],[IFace,_|T1]):-