add structural tests for partial strings, rename ast.rs

This commit is contained in:
Mark Thom
2018-09-04 21:20:45 -06:00
parent 9713286023
commit 33d1a7c701
27 changed files with 46 additions and 30 deletions

View File

@@ -1,6 +1,6 @@
use prolog_parser::ast::*;
use prolog::ast::*;
use prolog::instructions::*;
use std::collections::{HashMap, VecDeque};
use std::hash::Hash;
use std::rc::Rc;
@@ -217,7 +217,6 @@ impl CodeOffsets {
IntIndex::Internal(_) => prelude_len - lst_offset + 1
}
}
pub fn add_indices(self, code: &mut Code, mut code_body: Code)
{