YENV may be an HW register (breaks some tabling code)

All YAAM instructions are now brackedted, so Op introduced an { and EndOp introduces an }. This is because Ricardo assumes that.
Fix attvars when COROUTING is undefined.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1516 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
vsc
2006-01-17 14:10:42 +00:00
parent 92f6922f40
commit 9618c90255
14 changed files with 482 additions and 420 deletions

View File

@@ -124,7 +124,7 @@ static int p_put_trie_entry(void) {
int mode;
/* check args */
mode_str = YAP_AtomName(YAP_AtomOfTerm(arg_mode));
mode_str = (char *)YAP_AtomName(YAP_AtomOfTerm(arg_mode));
if (!strcmp(mode_str, "std")) {
mode = MODE_STANDARD;
} else if (!strcmp(mode_str, "rev")) {
@@ -152,7 +152,7 @@ static int p_get_trie_entry(void) {
int mode;
/* check args */
mode_str = YAP_AtomName(YAP_AtomOfTerm(arg_mode));
mode_str = (char *)YAP_AtomName(YAP_AtomOfTerm(arg_mode));
if (!strcmp(mode_str, "std")) {
mode = MODE_STANDARD;
} else if (!strcmp(mode_str, "rev")) {