Skip to content

Commit

Permalink
Revert "Add default translation of debug and debug(_) messages"
Browse files Browse the repository at this point in the history
This reverts commit 4eefb2f.
  • Loading branch information
pmoura committed Sep 13, 2017
1 parent 4eefb2f commit 2570003
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 18 deletions.
9 changes: 0 additions & 9 deletions RELEASE_NOTES.md
Expand Up @@ -24,15 +24,6 @@ RELEASE NOTES
3.11.3 - September ??, 2017
===========================

Logtalk compiler and runtime
----------------------------

* ADDED: Default translation of `debug` and `debug(_)` messages. The message
term is printed as passed to a `write/2` predicate call followed by a `nl/1`
call. This allows the message printing mechanism to be used for debugging
messages without requiring the definition of `message_tokens//2` translation
rules for each message.

Library
-------

Expand Down
2 changes: 1 addition & 1 deletion VERSION.txt
@@ -1 +1 @@
3.11.3-rc2
3.11.3-rc1
2 changes: 1 addition & 1 deletion core/core.pl
Expand Up @@ -3038,7 +3038,7 @@
% versions, 'rcN' for release candidates (with N being a natural number),
% and 'stable' for stable versions

'$lgt_version_data'(logtalk(3, 11, 3, rc2)).
'$lgt_version_data'(logtalk(3, 11, 3, rc1)).



Expand Down
6 changes: 2 additions & 4 deletions core/logtalk.lgt
Expand Up @@ -33,9 +33,9 @@
:- object(logtalk).

:- info([
version is 1.11,
version is 1.10,
author is 'Paulo Moura',
date is 2017/09/12,
date is 2017/06/28,
comment is 'Built-in object providing message printing, debugging, library, source file, and hacking methods.'
]).

Expand Down Expand Up @@ -272,8 +272,6 @@
Tokens = ['Non-instantiated ~q message for component ~q!'-[Kind, Component], nl]
; phrase(message_tokens(Message, Component), Tokens) ->
true
; nonvar(Kind), functor(Kind, debug, _) ->
Tokens = [term(Message,[numbervars(true)]), nl]
; Tokens = ['Unknown ~q message for component ~q: ~q'-[Kind, Component, Message], nl]
).

Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Expand Up @@ -16,6 +16,6 @@ <h1>Documentation index</h1>
<li><a href="entity_index.html">Entity index</a></li>
<li><a href="predicate_index.html">Predicate index</a></li>
</ul>
<p>Generated on Tue Sep 12 10:08:23 BST 2017</p>
<p>Generated on Sun Sep 10 15:40:32 BST 2017</p>
</body>
</html>
4 changes: 2 additions & 2 deletions docs/logtalk_0.html
Expand Up @@ -23,11 +23,11 @@ <h1 class="code">logtalk</h1>
</dd>
<dt class="key">version:</dt>
<dd class="value">
<code>1.11</code>
<code>1.1</code>
</dd>
<dt class="key">date:</dt>
<dd class="value">
<code>2017/9/12</code>
<code>2017/6/28</code>
</dd>
</dl>
<dl class="properties">
Expand Down

0 comments on commit 2570003

Please sign in to comment.