commit 15097f6ab361b9db1559b7f16827dea07f147457
parent 6240d26beb52747638ed274ff6a60a8b4b8eb5b7
Author: sin <sin@2f30.org>
Date: Sun, 16 Nov 2014 12:54:32 +0000
Don't use C++ type comments
Diffstat:
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/expr.c b/expr.c
@@ -16,7 +16,6 @@ typedef struct {
intmax_t n;
} Val;
-
static void doop(int*, int**, Val*, Val**);
static Val match(Val, Val);
static void num(Val);
@@ -29,10 +28,11 @@ static char **args;
static size_t intlen;
static Val yylval;
-// otop points to one past last op
-// vtop points to one past last val
-// guaranteed otop != ops
-// pop two vals, pop op, apply op, push val
+/* otop points to one past last op
+ * vtop points to one past last val
+ * guaranteed otop != ops
+ * pop two vals, pop op, apply op, push val
+ */
static void
doop(int *ops, int **otop, Val *vals, Val **vtop)
{