equal
deleted
inserted
replaced
77 elif c.isalnum() or c in '._' or ord(c) > 127: # gather up a symbol/keyword |
77 elif c.isalnum() or c in '._' or ord(c) > 127: # gather up a symbol/keyword |
78 s = pos |
78 s = pos |
79 pos += 1 |
79 pos += 1 |
80 while pos < l: # find end of symbol |
80 while pos < l: # find end of symbol |
81 d = program[pos] |
81 d = program[pos] |
82 if not (d.isalnum() or d in "._" or ord(d) > 127): |
82 if not (d.isalnum() or d in "._/" or ord(d) > 127): |
83 break |
83 break |
84 if d == '.' and program[pos - 1] == '.': # special case for .. |
84 if d == '.' and program[pos - 1] == '.': # special case for .. |
85 pos -= 1 |
85 pos -= 1 |
86 break |
86 break |
87 pos += 1 |
87 pos += 1 |