[hackers] [scc] Convert pcompare() to use new fields of type || Roberto E. Vargas Caballero
commit 6234ca1a96d4ff39e0e236337008886684af6237
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Thu Jan 7 21:22:52 2016 +0100
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Fri Jan 8 10:49:29 2016 +0100
Convert pcompare() to use new fields of type
diff --git a/cc1/expr.c b/cc1/expr.c
index 4a33fd9..25cecaf 100644
--- a/cc1/expr.c
+++ b/cc1/expr.c
_AT_@ -7,6 +7,8 @@
#include "../inc/sizes.h"
#include "cc1.h"
+#define XCHG(lp, rp, np) (np = lp, lp = rp, rp = np)
+
Node *expr(void);
bool
_AT_@ -288,8 +290,6 @@ convert(Node *np, Type *newtp, char iscast)
return castcode(np, newtp);
}
-#define XCHG(lp, rp, np) (np = lp, lp = rp, rp = np)
-
static Node *
parithmetic(char op, Node *lp, Node *rp)
{
Received on Fri Jan 08 2016 - 13:13:58 CET
This archive was generated by hypermail 2.3.0
: Fri Jan 08 2016 - 13:24:50 CET