diff options
| author | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-04-19 15:24:49 -0700 |
|---|---|---|
| committer | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-04-19 15:24:49 -0700 |
| commit | df28ab1bd1b4bd52a0a857d26a381d3749e0ceda (patch) | |
| tree | 21fd78aeae8bb3fc4e6919d2430a1c360edb9a46 /src/librustsyntax/parse | |
| parent | a17d065c58559aadd5c3f02dc636520fa426c114 (diff) | |
| download | rust-df28ab1bd1b4bd52a0a857d26a381d3749e0ceda.tar.gz rust-df28ab1bd1b4bd52a0a857d26a381d3749e0ceda.zip | |
Comments only: annotate FIXMEs in lexer
Diffstat (limited to 'src/librustsyntax/parse')
| -rw-r--r-- | src/librustsyntax/parse/lexer.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/librustsyntax/parse/lexer.rs b/src/librustsyntax/parse/lexer.rs index 96f20e7c6ea..dc5de0ad7bb 100644 --- a/src/librustsyntax/parse/lexer.rs +++ b/src/librustsyntax/parse/lexer.rs @@ -258,7 +258,8 @@ fn scan_number(c: char, rdr: reader) -> token::token { ret token::LIT_FLOAT(intern(*rdr.interner, num_str), ast::ty_f64); /* FIXME: if this is out of range for either a 32-bit or - 64-bit float, it won't be noticed till the back-end */ + 64-bit float, it won't be noticed till the back-end (Issue #2252) + */ } else { is_float = true; } @@ -317,7 +318,7 @@ fn next_token_inner(rdr: reader) -> token::token { if str::eq(accum_str, "_") { ret token::UNDERSCORE; } let is_mod_name = c == ':' && rdr.next() == ':'; - // FIXME: perform NFKC normalization here. + // FIXME: perform NFKC normalization here. (Issue #2253) ret token::IDENT(interner::intern::<str>(*rdr.interner, accum_str), is_mod_name); } |
