parser: simplify finishAssignment, add StarEqual support

This commit is contained in:
Luna 2019-08-27 11:54:21 -03:00
parent a0808b54aa
commit eb7a485206
4 changed files with 29 additions and 24 deletions

View file

@ -58,6 +58,8 @@ fn main(a int) int {
// those should yield the same ast
str.len = str.len + 1
str.len += 1
str.len -= 1
str.len *= 1
}
fn (v Typ) voidfunc() {}