]> Repositorios git - scryer-prolog.git/commitdiff
use partial_string/1 in place of the removed string/1 in bimetatrans_ruleml.pl
authorMark Thom <[email protected]>
Mon, 13 Apr 2020 04:27:53 +0000 (22:27 -0600)
committerMark Thom <[email protected]>
Mon, 13 Apr 2020 04:27:53 +0000 (22:27 -0600)
src/prolog/examples/bimetatrans_ruleml.pl

index d33b5bd85f0e567946b14b9f7db8c4e147acf1a7..5ff1e207c2ac2d44c649383f3f7a5eab28bc87b6 100644 (file)
@@ -1,6 +1,7 @@
 :- module(ruleml_xml_parser, [parse_ruleml/3]).
 
 :- use_module(library(dcgs)).
+:- use_module(library(iso_ext)).
 
 :- set_prolog_flag(double_quotes, chars).
 
@@ -498,7 +499,7 @@ ruleml_plex(Plex) -->
           list_ws("</Plex>")
        ;  list_ws("<Plex/>")
        )
-    ;  {  \+ string(Plex),
+    ;  {  \+ partial_string(Plex),
           acyclic_term(Plex) },
        (  {  functor(Plex, ('.'), 2) } ->
           {  split_plex(Plex, PlexItems, RepoVar) },