Implemented Debug for the new data structures

This commit is contained in:
notoria
2020-05-09 22:28:32 +02:00
parent dc5626f34d
commit cf92349c1d
2 changed files with 3 additions and 1 deletions

View File

@@ -11,13 +11,14 @@ use std::convert::TryFrom;
use std::hash::Hash;
use std::rc::Rc;
#[derive(Clone, Copy)]
#[derive(Debug, Clone, Copy)]
enum IntIndex {
External(usize),
Fail,
Internal(usize),
}
#[derive(Debug)]
pub struct CodeOffsets {
atom_tbl: TabledData<Atom>,
pub constants: IndexMap<Constant, ThirdLevelIndex>,

View File

@@ -59,6 +59,7 @@ pub enum EOFAction {
Reset,
}
#[derive(Debug)]
pub enum AtEndOfStream {
Not,
End,