changeset 12387 | 4f8067c94729 |
parent 12134 | 26d86a6cf2af |
child 16683 | 525fdb738975 |
12386:8eedf53547b8 | 12387:4f8067c94729 |
---|---|
217 n = int(digs) |
217 n = int(digs) |
218 for i in xrange(0, n): |
218 for i in xrange(0, n): |
219 yield 'n', (r, [p1]) |
219 yield 'n', (r, [p1]) |
220 p1 = r |
220 p1 = r |
221 r += 1 |
221 r += 1 |
222 elif c == '*' or c == '/': |
222 elif c in '*/': |
223 if c == '*': |
223 if c == '*': |
224 c = nextch() |
224 c = nextch() |
225 c, pref = nextstring(c) |
225 c, pref = nextstring(c) |
226 prefs = [pref] |
226 prefs = [pref] |
227 while c == '/': |
227 while c == '/': |