summaryrefslogtreecommitdiffstats
path: root/Modules/cjkcodecs/_codecs_tw.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2013-10-28 23:59:44 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2013-10-28 23:59:44 (GMT)
commit28c63f7ffb9f9cb59c524dc14ce66d34c0e83af6 (patch)
treeaa72609ba7c6890975638f7c63f4ca587697fb47 /Modules/cjkcodecs/_codecs_tw.c
parent14c9fea60aa6884586c0a87046b308c2af76d38d (diff)
downloadcpython-28c63f7ffb9f9cb59c524dc14ce66d34c0e83af6.zip
cpython-28c63f7ffb9f9cb59c524dc14ce66d34c0e83af6.tar.gz
cpython-28c63f7ffb9f9cb59c524dc14ce66d34c0e83af6.tar.bz2
CJK codecs: less magical macros, semicolon is now explicit
Diffstat (limited to 'Modules/cjkcodecs/_codecs_tw.c')
-rw-r--r--Modules/cjkcodecs/_codecs_tw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/cjkcodecs/_codecs_tw.c b/Modules/cjkcodecs/_codecs_tw.c
index 016770c..722b26b 100644
--- a/Modules/cjkcodecs/_codecs_tw.c
+++ b/Modules/cjkcodecs/_codecs_tw.c
@@ -54,7 +54,7 @@ DECODER(big5)
continue;
}
- REQUIRE_INBUF(2)
+ REQUIRE_INBUF(2);
if (TRYMAP_DEC(big5, decoded, c, INBYTE2)) {
OUTCHAR(decoded);
NEXT_IN(2);
@@ -113,7 +113,7 @@ DECODER(cp950)
continue;
}
- REQUIRE_INBUF(2)
+ REQUIRE_INBUF(2);
if (TRYMAP_DEC(cp950ext, decoded, c, INBYTE2))
OUTCHAR(decoded);