]> Repositorios git - scryer-prolog.git/commitdiff
add functional notation for operators.
authorMark Thom <[email protected]>
Tue, 17 Apr 2018 04:00:30 +0000 (22:00 -0600)
committerMark Thom <[email protected]>
Tue, 17 Apr 2018 04:00:30 +0000 (22:00 -0600)
src/prolog/io.rs
src/prolog/parser

index 85e5330ce07a623323a6e2292fa577c6a0ec2424..1b005bd349b00f11c6c54b91b5abe37e43f7966b 100644 (file)
@@ -679,6 +679,7 @@ pub fn compile_listing(wam: &mut Machine, src_str: &str) -> EvalSession
                         .or_insert(CodeIndex::default());
 
                     index.0.set(IndexPtr::Index(p));
+                    index.1 = module_name;
                 }
                 
                 decl_info.label_clauses(p, &mut code_dir, &mut decl_code);
index 0e9dd3a01f21c6457bd1bcb35518ccdb502c82bd..1b3bcc77f2b9d264c9753653ae87bfa3b4c11081 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 0e9dd3a01f21c6457bd1bcb35518ccdb502c82bd
+Subproject commit 1b3bcc77f2b9d264c9753653ae87bfa3b4c11081