about summary refs log tree commit diff
path: root/src/comp/syntax
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2011-07-13 10:26:46 -0400
committerBrian Anderson <banderson@mozilla.com>2011-07-16 15:56:31 -0700
commit63598248e4a7db9b62ba4d36d18b2769044e1fa1 (patch)
treeaf77523c6c11ca94bf7fe07a6a678126a9db81f7 /src/comp/syntax
parentdf74f2cde95e99bd6148dbb59de956871ab4fc8e (diff)
Reenable error line printing.
Diffstat (limited to 'src/comp/syntax')
-rw-r--r--src/comp/syntax/codemap.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/comp/syntax/codemap.rs b/src/comp/syntax/codemap.rs
index 333c8fb8e2f..f1c4b1fb034 100644
--- a/src/comp/syntax/codemap.rs
+++ b/src/comp/syntax/codemap.rs
@@ -64,8 +64,7 @@ fn emit_diagnostic(&option::t[span] sp, &str msg, &str kind, u8 color,
         case (some(?ssp)) {
             ss = span_to_str(ssp, cm);
 
-            // FIXME: we're not able to look up lines read from .rc files yet.
-            // maybe_lines = some(span_to_lines(ssp, cm));
+            maybe_lines = some(span_to_lines(ssp, cm));
 
         }
         case (none) { }