From: Alan Cox Date: Sun, 10 May 2015 20:34:00 +0000 (+0100) Subject: sh: remove NEQ and some other defines X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=68806336b87859a910b932896f342eb32f1b80b2;p=FUZIX.git sh: remove NEQ and some other defines --- diff --git a/Applications/V7/cmd/sh/mac.h b/Applications/V7/cmd/sh/mac.h index 011009de..e5b97c1f 100644 --- a/Applications/V7/cmd/sh/mac.h +++ b/Applications/V7/cmd/sh/mac.h @@ -37,9 +37,6 @@ #define POOL } -#define SKIP ; -#define DIV / -#define REM % #define NEQ ^ #define ANDF && #define ORF || diff --git a/Applications/V7/cmd/sh/macro.c b/Applications/V7/cmd/sh/macro.c index 1c8e4dd6..402edb60 100644 --- a/Applications/V7/cmd/sh/macro.c +++ b/Applications/V7/cmd/sh/macro.c @@ -108,7 +108,7 @@ retry: IF bra THEN IF c!='}' THEN argp=(STRING)relstak(); - IF (v==0)NEQ(setchar(c)) + IF (v==0)^(setchar(c)) THEN copyto('}'); ELSE skipto('}'); FI