[hackers] [sbase] Don't use C++ type comments || sin

From: <git_AT_suckless.org>
Date: Sun, 16 Nov 2014 13:54:51 +0100

commit 15097f6ab361b9db1559b7f16827dea07f147457
Author: sin <sin_AT_2f30.org>
Date: Sun Nov 16 12:54:32 2014 +0000

    Don't use C++ type comments

diff --git a/expr.c b/expr.c
index 28ca387..986aaba 100644
--- a/expr.c
+++ b/expr.c
_AT_@ -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);
_AT_@ -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)
 {
Received on Sun Nov 16 2014 - 13:54:51 CET

This archive was generated by hypermail 2.3.0 : Sun Nov 16 2014 - 14:00:16 CET