ref: b3610440c27ad0b930290179daf1f18d5a675686
parent: 9d76340ea8eda416be520c79c176c69019e3e519
author: Noam Preil <[email protected]>
date: Tue Jun 1 13:06:43 EDT 2021
comment out unimplemented stubs for now
--- a/op.c
+++ b/op.c
@@ -384,15 +384,16 @@
}
static int
-t4add(Op *, Object *s)
+t4add(Op *op, Object *s)
{
+ USED(op, s);
+/*
double x;
-
x = objat(s+1, Onum)->num.d + objat(s+0, Onum)->num.d;
s = pop(s);
s->num.d = x;
s->num.i = x;
-
+*/
return 0;
}
@@ -399,13 +400,14 @@
static int
t4sub(Op *op, Object *s)
{
+ USED(op, s);
+/*
double x;
-
x = objat(s+1, Onum)->num.d - objat(s+0, Onum)->num.d;
s = pop(s);
s->num.d = x;
s->num.i = x;
-
+*/
return 0;
}
@@ -412,6 +414,8 @@
static int
t4mul(Op *op, Object *s)
{
+ USED(op, s);
+/*
double x;
x = objat(s+1, Onum)->num.d * objat(s+0, Onum)->num.d;
@@ -418,7 +422,7 @@
s = pop(s);
s->num.d = x;
s->num.i = x;
-
+*/
return 0;
}
@@ -425,6 +429,8 @@
static int
t4div(Op *op, Object *s)
{
+ USED(op, s);
+/*
double x;
x = objat(s+1, Onum)->num.d / objat(s+0, Onum)->num.d;
@@ -431,7 +437,7 @@
s = pop(s);
s->num.d = x;
s->num.i = x;
-
+*/
return 0;
}