diff options
| author | John Clements <clements@racket-lang.org> | 2013-03-29 10:35:23 -0700 |
|---|---|---|
| committer | John Clements <clements@racket-lang.org> | 2013-04-10 09:15:08 -0700 |
| commit | 9deb2f2dfabd0ad164eedf84fe7e91b0b5dabf66 (patch) | |
| tree | 95f1f939b495709b4d0286786aa63ceeb649df57 /src/libsyntax/codemap.rs | |
| parent | 05bbaf9e9f72b69804aed6ba37bdbe861203defc (diff) | |
| download | rust-9deb2f2dfabd0ad164eedf84fe7e91b0b5dabf66.tar.gz rust-9deb2f2dfabd0ad164eedf84fe7e91b0b5dabf66.zip | |
libsyntax comments only
Diffstat (limited to 'src/libsyntax/codemap.rs')
| -rw-r--r-- | src/libsyntax/codemap.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libsyntax/codemap.rs b/src/libsyntax/codemap.rs index fc08073686d..0ed371d9c9a 100644 --- a/src/libsyntax/codemap.rs +++ b/src/libsyntax/codemap.rs @@ -206,8 +206,12 @@ pub struct FileLines lines: ~[uint] } +// represents the origin of a file: pub enum FileSubstr { + // indicates that this is a normal standalone file: pub FssNone, + // indicates that this "file" is actually a substring + // of another file that appears earlier in the codemap pub FssInternal(span), } |
