sh: remove NEQ and some other defines
authorAlan Cox <alan@linux.intel.com>
Sun, 10 May 2015 20:34:00 +0000 (21:34 +0100)
committerAlan Cox <alan@linux.intel.com>
Sun, 10 May 2015 20:34:00 +0000 (21:34 +0100)
Applications/V7/cmd/sh/mac.h
Applications/V7/cmd/sh/macro.c

index 011009d..e5b97c1 100644 (file)
@@ -37,9 +37,6 @@
 #define POOL   }
 
 
-#define SKIP   ;
-#define DIV    /
-#define REM    %
 #define NEQ    ^
 #define ANDF   &&
 #define ORF    ||
index 1c8e4dd..402edb6 100644 (file)
@@ -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