vfmt: change all '$expr' to '${expr}' (#16428)

This commit is contained in:
yuyi 2022-11-15 21:53:13 +08:00 committed by GitHub
parent 56239b4a23
commit 017ace6ea7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
859 changed files with 7156 additions and 7135 deletions

View file

@ -48,7 +48,7 @@ fn expr_to_rev_pol(expr string) ![]string {
stack.delete(stack.len - 1)
}
else {
return error('err: invalid character `$op`')
return error('err: invalid character `${op}`')
}
}
pos++
@ -115,7 +115,7 @@ fn main() {
mut expr_count := 0
for {
expr_count++
expr := os.input_opt('[$expr_count] ') or {
expr := os.input_opt('[${expr_count}] ') or {
println('')
break
}.trim_space()