Convert ret to return

This commit is contained in:
Brian Anderson 2012-08-01 17:30:05 -07:00
parent dc499f193e
commit b355936b4d
456 changed files with 3875 additions and 3798 deletions

View file

@ -18,13 +18,13 @@ fn a(c: chan<int>) {
send(c, 10);
}
fn k(x: int) -> int { ret 15; }
fn k(x: int) -> int { return 15; }
fn g(x: int, y: ~str) -> int {
log(debug, x);
log(debug, y);
let z: int = k(1);
ret z;
return z;
}
fn main() {