mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
examples: update mini_calculator.v (#8182)
This commit is contained in:
parent
6f1ae65811
commit
048d8edf62
@ -23,7 +23,7 @@ fn expr_to_rev_pol(expr string) ?[]string {
|
||||
stack << expr[pos..end_pos]
|
||||
pos = end_pos
|
||||
} else if end_pos == pos {
|
||||
op := expr[pos].str()
|
||||
op := expr[pos].ascii_str()
|
||||
match op {
|
||||
'(' {
|
||||
stack << op
|
||||
|
Loading…
Reference in New Issue
Block a user