]> Repositorios git - scryer-prolog.git/commitdiff
delete trailing whitespace in compile.rs
authorMark Thom <[email protected]>
Thu, 17 Jan 2019 02:59:19 +0000 (19:59 -0700)
committerMark Thom <[email protected]>
Thu, 17 Jan 2019 02:59:19 +0000 (19:59 -0700)
src/prolog/compile.rs

index ed12fedc5cbb147371648c8c4b2e5bd0492a428f..4a04e029e9c412f832511ed6669cf1ff16ed0395 100644 (file)
@@ -172,7 +172,7 @@ pub struct ListingCompiler {
     module: Option<Module>,
     user_term_dir: TermDir,
     orig_term_expansion_lens: (usize, usize),
-    orig_goal_expansion_lens: (usize, usize)        
+    orig_goal_expansion_lens: (usize, usize)
 }
 
 impl ListingCompiler {
@@ -426,13 +426,13 @@ impl ListingCompiler {
         let (ge_len, ge_queue_len) = self.orig_goal_expansion_lens;
 
         let flags = wam.machine_flags();
-        
+
         wam.code_repo.truncate_terms((clause_name!("term_expansion"), 2), te_len, te_queue_len);
         wam.code_repo.truncate_terms((clause_name!("goal_expansion"), 2), ge_len, ge_queue_len);
 
         discard_result!(wam.code_repo.compile_hook(CompileTimeHook::UserGoalExpansion, flags));
         discard_result!(wam.code_repo.compile_hook(CompileTimeHook::UserTermExpansion, flags));
-        
+
         err
     }
 }
@@ -468,7 +468,7 @@ fn compile_work<R: Read>(compiler: &mut ListingCompiler, wam: &mut Machine, src:
 pub fn compile_listing<R: Read>(wam: &mut Machine, src: R, indices: IndexStore) -> EvalSession
 {
     let mut compiler = ListingCompiler::new(&wam.code_repo);
-    
+
     match compile_work(&mut compiler, wam, src, indices) {
         EvalSession::Error(e) => EvalSession::Error(compiler.drop_expansions(wam, e)),
         result => result