[Nice-commit] Nice/stdlib/nice/lang graph.nice,1.16,1.17
Brought to you by:
bonniot
|
From: <bo...@us...> - 2003-04-02 21:41:31
|
Update of /cvsroot/nice/Nice/stdlib/nice/lang
In directory sc8-pr-cvs1:/tmp/cvs-serv20053/stdlib/nice/lang
Modified Files:
graph.nice
Log Message:
Added the code to use once the stable compiler can handle || on primitive types.
Index: graph.nice
===================================================================
RCS file: /cvsroot/nice/Nice/stdlib/nice/lang/graph.nice,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** graph.nice 27 Mar 2003 23:01:02 -0000 1.16
--- graph.nice 2 Apr 2003 21:41:23 -0000 1.17
***************
*** 38,44 ****
else
m = cast(mark.get(child));
! if(m<min)
! min=m;
});
--- 38,47 ----
else
m = cast(mark.get(child));
+ /* XXX Use this instead after 0.7.8 is released
+ m = mark.get(child) || visit(child, successors, id, stack, mark, res);
+ */
! if (m < min)
! min = m;
});
|