Add session, span tracking, error reporting, beginning of a function to parse an item to rustc.
This commit is contained in:
parent
b90e6b93c1
commit
eb90be7798
7 changed files with 165 additions and 35 deletions
|
|
@ -1,3 +1,7 @@
|
|||
import std._uint;
|
||||
|
||||
type pos = rec(uint line, uint col);
|
||||
type span = rec(str filename, pos lo, pos hi);
|
||||
|
||||
type ty_mach = tag( ty_i8(), ty_i16(), ty_i32(), ty_i64(),
|
||||
ty_u8(), ty_u16(), ty_u32(), ty_u64(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue