From 2db3abddcd6784dc5529081c6d831c972abbe755 Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Tue, 8 Jan 2013 19:37:25 -0800 Subject: librustc: Make unqualified identifier searches terminate at the nearest module scope. r=tjc --- src/libsyntax/parse/comments.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/libsyntax/parse/comments.rs') diff --git a/src/libsyntax/parse/comments.rs b/src/libsyntax/parse/comments.rs index d5365d59041..0e101d54ba3 100644 --- a/src/libsyntax/parse/comments.rs +++ b/src/libsyntax/parse/comments.rs @@ -8,8 +8,10 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +use core::prelude::*; + use ast; -use codemap::{CodeMap, FileMap, CharPos}; +use codemap::{BytePos, CharPos, CodeMap, FileMap}; use diagnostic; use parse::lexer::{is_whitespace, get_str_from, reader}; use parse::lexer::{string_reader, bump, is_eof, nextch}; -- cgit 1.4.1-3-g733a5