-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Now that the issue is clearly understood, we can do it correctly. See #1351 for details.
- Loading branch information
Showing
5 changed files
with
33 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,7 +42,9 @@ class reverse { | |
// =============================================================== | ||
|
||
#if 0 | ||
// Unused just right now. | ||
|
||
// Currently unused. Left over from an earlier attempt to label | ||
// disjuncts. | ||
|
||
// This is a minimalist version of `lg_exp_stringify()` because | ||
// we want the string, without the costs on it. We also know that | ||
|
@@ -73,11 +75,11 @@ static std::string prt_andex(Exp* e) | |
|
||
else if (OR_type == e->type) | ||
{ | ||
str += "{"; | ||
str += "("; | ||
Exp* con = e->operand_first->operand_next; | ||
str += con->condesc->string; | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
linas
Author
Member
|
||
str += con->dir; | ||
str += "}"; | ||
str += ")"; | ||
} | ||
else if (AND_type == e->type) | ||
{ | ||
|
@@ -94,15 +96,6 @@ static std::string prt_andex(Exp* e) | |
return str; | ||
} | ||
|
||
// XXX Unused right now. What was the plan, here? | ||
static void cache_disjunct_string(Local* local, | ||
const Handle& sect, Exp* andex) | ||
{ | ||
local->asp->add_link( | ||
EVALUATION_LINK, local->djp, | ||
createNode(ITEM_NODE, prt_andex(andex)), | ||
sect); | ||
} | ||
#endif | ||
|
||
#endif /* HAVE_ATOMESE */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
You may need to prepend
@
ifcon->multi
.