ciao-lang / ciao

Ciao is a modern Prolog implementation that builds up from a logic-based simple kernel designed to be portable, extensible, and modular.
https://ciao-lang.org
GNU Lesser General Public License v3.0
268 stars 20 forks source link

Problem regarding documentation of tests with multiple solutions #94

Open David-Gimenez-Hernandez opened 5 months ago

David-Gimenez-Hernandez commented 5 months ago

When doing a test of the form:

:- test charge(N) => (N = 0 ; N = + ; N = ++ ; N = +++ ; N = ++++ ; N = + ; N = +++++ ; N = ++++++ ; N = +++++++)

Where there are multiple solutions sepparated by a ";", if you try to generate the documentation, lpdoc does not recognize multiple solutions to mark as a property when doing EXIT, so instead it gives the error: unknown property N=0;N=(+);... in assertion for charge(N).