examples: update mini_calculator.v (#8182)
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