/* ============================================= = MODULE: CDIALECT.H = = VERSION: 1.00.X = = = =FUNCTION: Standard Language Extensions = = = = SYSTEM: H = = SYSVERS: 2.2.10 = = CREATED: 11MAR87 = = UPDATED: 12Mar87 = = UPDTIME: 10:43 = = = = (c) 1987 = = BY: The Symmetry Group = ============================================= FUNCTION: Define a set of Language Extension Macros for C. */ #define IF if #define THEN { #define ELSE } else { #define ENDIF } #define ELSEIF } else if #define ELSE_IF(p) } else if(p) { #define SELECT(i) switch(i) { #define ENDSELECT } #define CASE case #define ENDCASE break; #define LOOP { #define ENDLOOP } #define NULLOOP { } #define WHILE while #define DO do #define FOR for #define BREAK break; #define DEFAULT default #define CONTINUE continue; #define SCOPE { #define ENDSCOPE(n) } /*n*/ #define RETURN return #define EQ == #define NE != #define GT > #define LT < #define GE >= #define LE <= #define OR || #define AND && #define NOT ! #define BITAND & #define BITOR | #define BITXOR ^ #define LSHIFT << #define RSHIFT >> #define ONESCOMP ~ #define TRUE 1 #define FALSE 0 #define YES 1 #define NO 0 #define SUCCEED 1 #define FAIL 0 #define NULLFP (int(*)())0