]> Repositorios git - scryer-prolog.git/commitdiff
clarify comment
authorMarkus Triska <[email protected]>
Sun, 15 May 2022 08:23:00 +0000 (10:23 +0200)
committerMarkus Triska <[email protected]>
Sun, 15 May 2022 08:23:00 +0000 (10:23 +0200)
src/lib/sgml.pl

index bb1b58c3c8162df827f923f8b7225584baec46bd..26c917f559ad4390708e37804c2b7cfad8414648 100644 (file)
 
    These predicates parse HTML and XML documents, respectively.
 
-   Source must be a stream, specified as stream(S), or a file,
-   specified as file(Name), where Name is a list of characters, or a
-   list of characters with the document contents.
+   Source must be one of:
+
+   - a list of characters with the document contents
+   - stream(S), specifying a stream S from which to read the content
+   - file(Name), where Name is a list of characters specifying a file name.
 
    Es is unified with the abstract syntax tree of the parsed document,
    represented as a list of elements where each is of the form: