2009-11-23 | Paul Boddie | file changeset files shortlog | Added attribute usage registration for branches where more specific attribute usage occurs, but where such usage cannot be merged back into the active usage definition for a given name. This should ensure that attributes are not forgotten because their usage was not merged and carried forward. Added more specific tests. |
paul@121 | 1 | #!/usr/bin/env python |
paul@121 | 2 | |
paul@121 | 3 | a = 1 |
paul@121 | 4 | b = 2 |
paul@121 | 5 | c = 3 |
paul@121 | 6 | |
paul@232 | 7 | result_1 = 0 |
paul@232 | 8 | result_2 = 0 |
paul@232 | 9 | |
paul@232 | 10 | if a < b < c: |
paul@232 | 11 | result_1 = 1 |
paul@232 | 12 | if c > b > a: |
paul@232 | 13 | result_2 = 2 |
paul@121 | 14 | |
paul@121 | 15 | # vim: tabstop=4 expandtab shiftwidth=4 |