diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-11-12 18:59:37 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-11-14 15:18:26 -0800 |
| commit | 9ecf86343a136c71cbb2bb8da9bfd1734fec37f4 (patch) | |
| tree | 7d1aea436a16f3c53aeaa19d1f8d2b5a987a5487 /src/libsyntax/parse/lexer.rs | |
| parent | 38b9740668f596989a2a714e556d59d5b49112dc (diff) | |
| download | rust-9ecf86343a136c71cbb2bb8da9bfd1734fec37f4.tar.gz rust-9ecf86343a136c71cbb2bb8da9bfd1734fec37f4.zip | |
Camel case all the codemap types except span
Diffstat (limited to 'src/libsyntax/parse/lexer.rs')
| -rw-r--r-- | src/libsyntax/parse/lexer.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libsyntax/parse/lexer.rs b/src/libsyntax/parse/lexer.rs index 1c984ad57b1..06b8b1e8eee 100644 --- a/src/libsyntax/parse/lexer.rs +++ b/src/libsyntax/parse/lexer.rs @@ -25,7 +25,7 @@ type string_reader = @{ mut pos: uint, mut curr: char, mut chpos: uint, - filemap: @codemap::filemap, + filemap: @codemap::FileMap, interner: @token::ident_interner, /* cached: */ mut peek_tok: token::Token, @@ -33,7 +33,7 @@ type string_reader = @{ }; fn new_string_reader(span_diagnostic: span_handler, - filemap: @codemap::filemap, + filemap: @codemap::FileMap, itr: @token::ident_interner) -> string_reader { let r = new_low_level_string_reader(span_diagnostic, filemap, itr); string_advance_token(r); /* fill in peek_* */ @@ -42,7 +42,7 @@ fn new_string_reader(span_diagnostic: span_handler, /* For comments.rs, which hackily pokes into 'pos' and 'curr' */ fn new_low_level_string_reader(span_diagnostic: span_handler, - filemap: @codemap::filemap, + filemap: @codemap::FileMap, itr: @token::ident_interner) -> string_reader { let r = @{span_diagnostic: span_diagnostic, src: filemap.src, |
