changeset 426 | b51467741af2 |
parent 419 | d8dbf91c149b |
child 460 | 39ec5c112312 |
425:957808dcb367 | 426:b51467741af2 |
---|---|
23 } |
23 } |
24 |
24 |
25 # purity test |
25 # purity test |
26 |
26 |
27 function scala_vars { |
27 function scala_vars { |
28 (egrep '\bvar\b|\breturn\b|\.par\.|\.par |ListBuffer|AtomicInteger|mutable|util.control|new Array' c$out 2> /dev/null 1> /dev/null) |
28 (sed 's/immutable/ok/g' c$out > cb$out; |
29 egrep '\bvar\b|\breturn\b|\.par\.|\.par |ListBuffer|AtomicInteger|mutable|util.control|new Array' cb$out 2> /dev/null 1> /dev/null) |
|
29 } |
30 } |
30 |
31 |
31 |
32 |
32 |
33 |
33 |
34 |