aboutsummaryrefslogtreecommitdiff
path: root/src/comp
diff options
context:
space:
mode:
authorBrian Anderson <[email protected]>2011-03-02 19:08:04 -0500
committerBrian Anderson <[email protected]>2011-03-02 22:05:19 -0500
commit5876da00cfb78a849211804c820547fadef935f8 (patch)
treef73de658e45bc097e778a5fa70b724654a019c44 /src/comp
parentrustc: Use llsize_of rather than size_of in trans_malloc_without_cleanup(). S... (diff)
downloadrust-5876da00cfb78a849211804c820547fadef935f8.tar.xz
rust-5876da00cfb78a849211804c820547fadef935f8.zip
Remove some erroneous FIXMEs from #fmt parser
Diffstat (limited to 'src/comp')
-rw-r--r--src/comp/front/extfmt.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/comp/front/extfmt.rs b/src/comp/front/extfmt.rs
index 48f05df7..7201a17c 100644
--- a/src/comp/front/extfmt.rs
+++ b/src/comp/front/extfmt.rs
@@ -107,7 +107,6 @@ fn expr_to_str(@ast.expr expr) -> str {
fn parse_fmt_string(str s) -> vec[piece] {
let vec[piece] pieces = vec();
- // FIXME: Should be counting codepoints instead of bytes
auto lim = _str.byte_len(s);
auto buf = "";
@@ -151,7 +150,6 @@ fn peek_num(str s, uint i, uint lim) -> option.t[tup(uint, uint)] {
ret none[tup(uint, uint)];
}
- // FIXME: Presumably s.(i) will return char eventually
auto c = s.(i);
if (!('0' as u8 <= c && c <= '9' as u8)) {
ret option.none[tup(uint, uint)];