Lines Matching refs:last
38 last = -1 # Last code point with first_data.
39 first_data = "" # Common data for code points [first..last].
54 if last >= 0 and (c != (last + 1) or data != first_data):
56 if first == last:
59 out_file.write("%04X..%04X%s\n" % (first, last, first_data))
61 last = -1
69 if last < 0:
72 last = c
75 # must be c == (last + 1) and data == first_data
78 last = c
83 if do_merge and last >= 0:
84 # output the last range in the file
85 if first == last:
88 out_file.write("%04X..%04X%s\n" % (first, last, first_data))
90 last = -1