Convert most codemap types from records to structs

This commit is contained in:
Brian Anderson
2012-11-12 15:12:20 -08:00
parent f05e2da709
commit 4c68084963
9 changed files with 52 additions and 34 deletions

View File

@@ -15,7 +15,7 @@ pure fn dummy_spanned<T>(+t: T) -> spanned<T> {
/* assuming that we're not in macro expansion */
pure fn mk_sp(lo: uint, hi: uint) -> span {
{lo: lo, hi: hi, expn_info: None}
span {lo: lo, hi: hi, expn_info: None}
}
// make this a const, once the compiler supports it