Skip to content
Permalink
Browse files

Fix issues with generation of predicate cross-referencing code URLs

  • Loading branch information...
pmoura committed Apr 15, 2019
1 parent 7c552b6 commit ed5de6408418254ca057478ce7c1859ca24ea6aa
@@ -17,4 +17,4 @@ Indices and tables
* :ref:`genindex`
* :ref:`search`

Generated on Mon Apr 15 10:22:35 WEST 2019
Generated on Mon Apr 15 14:25:16 WEST 2019
@@ -9,7 +9,7 @@
Predicates for generating predicate call cross-referencing diagrams.

| **Author:** Paulo Moura
| **Version:** 2.34
| **Version:** 2.35
| **Date:** 2019/4/15

| **Compilation flags:**
@@ -2893,7 +2893,7 @@ <h1>Indices and tables<a class="headerlink" href="#indices-and-tables" title="Pe
<li><p><a class="reference internal" href="genindex.html"><span class="std std-ref">Index</span></a></p></li>
<li><p><a class="reference internal" href="search.html"><span class="std std-ref">Search Page</span></a></p></li>
</ul>
<p>Generated on Mon Apr 15 10:22:35 WEST 2019</p>
<p>Generated on Mon Apr 15 14:25:16 WEST 2019</p>
</div>


@@ -243,7 +243,7 @@ <h1><code class="docutils literal notranslate"><span class="pre">xref_diagram(Fo
<p>Predicates for generating predicate call cross-referencing diagrams.</p>
<div class="line-block">
<div class="line"><strong>Author:</strong> Paulo Moura</div>
<div class="line"><strong>Version:</strong> 2.34</div>
<div class="line"><strong>Version:</strong> 2.35</div>
<div class="line"><strong>Date:</strong> 2019/4/15</div>
</div>
<div class="line-block">
@@ -22,7 +22,7 @@
extends(entity_diagram(Format))).

:- info([
version is 2.34,
version is 2.35,
author is 'Paulo Moura',
date is 2019/04/15,
comment is 'Predicates for generating predicate call cross-referencing diagrams.',
@@ -324,7 +324,7 @@
( member(line_count(Line), Properties),
Line =\= -1 ->
add_xref_code_url(Options, Entity, Line, PredicateOptions)
; PredicateOptions = []
; PredicateOptions = [url('')| Options]
).

add_xref_code_url(Options, Entity, Line, XRefOptions) :-
@@ -382,7 +382,7 @@
),
XRefOptions = [url(CodeURL)| Options]
; % could not find entity file or URL prefixes not definined
XRefOptions = Options
XRefOptions = [url('')| Options]
).

calls_local_predicate(module, Entity, Caller, Line, Callee) :-

0 comments on commit ed5de64

Please sign in to comment.
You can’t perform that action at this time.