diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-11-12 16:56:39 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-11-12 17:09:52 -0800 |
| commit | 5b248a6ca8962249d5882375610764a6dd9561c3 (patch) | |
| tree | dc78b1e5cf835a008f2ada3851d89d2d7c7d301d /src/libsyntax/parse | |
| parent | 385a4668e568e4379371bf065d071f6caf6d1c3a (diff) | |
| download | rust-5b248a6ca8962249d5882375610764a6dd9561c3.tar.gz rust-5b248a6ca8962249d5882375610764a6dd9561c3.zip | |
Remove CodeMap box typedef from codemap
Diffstat (limited to 'src/libsyntax/parse')
| -rw-r--r-- | src/libsyntax/parse/lexer.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/lexer.rs b/src/libsyntax/parse/lexer.rs index a56f2576ab1..f3e84a0cbf8 100644 --- a/src/libsyntax/parse/lexer.rs +++ b/src/libsyntax/parse/lexer.rs @@ -232,7 +232,7 @@ fn consume_any_line_comment(rdr: string_reader) } } else if rdr.curr == '#' { if nextch(rdr) == '!' { - let cmap = codemap::new_codemap(); + let cmap = @codemap::new_codemap(); (*cmap).files.push(rdr.filemap); let loc = codemap::lookup_char_pos_adj(cmap, rdr.chpos); if loc.line == 1u && loc.col == 0u { |
