From 1af3174fe3b565371a5978381f604ea9c01e86d3 Mon Sep 17 00:00:00 2001 From: Marijn Haverbeke Date: Fri, 8 Apr 2011 18:44:20 +0200 Subject: Move to single-uint file-position representation. This makes passing them around cheaper. There is now a table (see front/codemap.rs) that is needed to transform such an uint into an actual filename/line/col location. Also cleans up the span building in the parser a bit. --- src/comp/rustc.rc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/comp/rustc.rc') diff --git a/src/comp/rustc.rc b/src/comp/rustc.rc index 14efb667..981577ab 100644 --- a/src/comp/rustc.rc +++ b/src/comp/rustc.rc @@ -7,6 +7,7 @@ mod front { mod ast; mod creader; mod extfmt; + mod codemap; mod lexer; mod parser; mod token; -- cgit v1.2.3