diff options
| author | Graydon Hoare <[email protected]> | 2011-02-14 16:35:08 -0800 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2011-02-14 16:35:08 -0800 |
| commit | 88cb9663639e915d2b69cef7ec514043ed39e5f4 (patch) | |
| tree | 4de3d2b65589ec39d6f26678fd37fbad14d8a0aa /src/comp/front/parser.rs | |
| parent | Disable TRACK_ALLOCATIONS by default, it's a bit heavy-handed. (diff) | |
| download | rust-88cb9663639e915d2b69cef7ec514043ed39e5f4.tar.xz rust-88cb9663639e915d2b69cef7ec514043ed39e5f4.zip | |
Adjust commented-out diagnostic log statement in parser.rs.
Diffstat (limited to 'src/comp/front/parser.rs')
| -rw-r--r-- | src/comp/front/parser.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/comp/front/parser.rs b/src/comp/front/parser.rs index e5ea673a..1296113a 100644 --- a/src/comp/front/parser.rs +++ b/src/comp/front/parser.rs @@ -41,11 +41,12 @@ impure fn new_parser(session.session sess, lexer.reader rdr) { fn peek() -> token.token { - // log token.to_str(tok); ret tok; } impure fn bump() { + // log rdr.get_filename() + // + ":" + common.istr(lo.line as int); tok = lexer.next_token(rdr); lo = rdr.get_mark_pos(); hi = rdr.get_curr_pos(); |