Move codemap doc comments to the proper place

This commit is contained in:
Brian Anderson 2012-11-12 16:45:24 -08:00
parent 1f3303163c
commit 9fc75e8d66

View File

@ -1,3 +1,9 @@
/*! A codemap is a thing that maps uints to file/line/column positions
* in a crate. This to make it possible to represent the positions
* with single-word things, rather than passing records all over the
* compiler.
*/
use dvec::DVec;
use std::serialization::{Serializable,
Deserializable,
@ -46,12 +52,6 @@ impl file_pos : cmp::Eq {
pure fn ne(other: &file_pos) -> bool { !self.eq(other) }
}
/* A codemap is a thing that maps uints to file/line/column positions
* in a crate. This to make it possible to represent the positions
* with single-word things, rather than passing records all over the
* compiler.
*/
enum file_substr {
fss_none,
fss_internal(span),