fix Malloc over/underflow

remove trash
This commit is contained in:
Vitor Santos Costa
2018-06-18 10:25:17 +01:00
parent fd4f53a899
commit c092d0f62b
23 changed files with 115 additions and 3756 deletions

View File

@@ -1,5 +1,5 @@
all:
python code-generator.py
python3 code-generator.py
clean:
-rm -f *~ *.pyc

View File

@@ -625,13 +625,13 @@ class YAPEnumProlog(object):
t = sp[1].rstrip(">")
for x in self.ENUM:
print("is_%s_('%s')." % (t, x))
print()
print("\n")
for x in self.ENUM:
print("is_%s_('%s','%s')." % (t, x, x))
print()
print("\n")
print("is_%s(X,Y) :- nonvar(X), is_%s_(X,Y)." % (t,t))
print("is_%s(X) :- is_%s_(X,_)." % (t,t))
print()
print("\n")
class YAPEnumPrologGenerator(object):