2007-02-14 | paulb | file changeset files shortlog | Changed comparison operations to use the same infrastructure as normal binary operations, modifying that infrastructure slightly. Introduced a special AST-style node for improved viewer referencing of the operations. |
paulb@186 | 1 | def f(): |
paulb@186 | 2 | a = 1 + 1.1 - 1 |
paulb@186 | 3 | b = a + 2 / 2 |
paulb@186 | 4 | c = -a |
paulb@186 | 5 | d = +b |
paulb@186 | 6 | e = a // b |
paulb@186 | 7 | |
paulb@186 | 8 | f() |