Commit e8354187a882fb26939ceb1f3819867a7348c190

Authored by Salvador Abreu
1 parent 420a353a
Exists in master

debugging code

Showing 1 changed file with 3 additions and 1 deletions   Show diff stats
fzn-parser/fznslurp.pl
... ... @@ -3,5 +3,7 @@
3 3 load_ast(AST) :- load_ast(_>[], [], AST).
4 4  
5 5 load_ast(end_of_file, AST, AST).
6   -load_ast(IN > INT, IN, OUT) :- read(OP), load_ast(OP, INT, OUT).
  6 +load_ast(IN > INT, IN, OUT) :- read(OP), !,
  7 + write(OP), nl,
  8 + load_ast(OP, INT, OUT).
7 9  
... ...