Remove all trailing whitespace

This commit is contained in:
David Tolnay committed 2015-08-13 22:39:23 -07:00
1 parent aff6f49990
commit 0f419563ea
16 files changed
+319 -319

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
#!/bin/sh
# This script is used to cross-compile binaries for
# This script is used to cross-compile binaries for
# platforms other than the current one
# Usage: $0 <platformname> <configure options>
+2 -2
View File
@@ -10,7 +10,7 @@ def print_table(type, name, t):
first = True
for i in range(0,len(t),16):
print ((" {" if i == 0 else " ") +
", ".join("0x%02x"%n for n in t[i:i+16]) +
", ".join("0x%02x"%n for n in t[i:i+16]) +
("," if i + 16 < len(t) else "};"))
@@ -22,7 +22,7 @@ def utf8info(c):
if 0xE0 <= c <= 0xEF: return 3, mask(4)
if 0xF0 <= c <= 0xF4: return 4, mask(3)
if 0xF4 <= c <= 0xFF: return 0, 0
table = lambda i: [utf8info(c)[i] for c in range(256)]
print("#define UTF8_CONTINUATION_BYTE ((unsigned char)255)")