diff options
author | Noel Grandin <noel@peralex.com> | 2014-09-18 10:14:23 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-09-19 08:36:54 +0200 |
commit | b4b2b434362d5854cddef1e576c4a6a7c51b45ef (patch) | |
tree | 49ac9df71366c623311b544e308b73705b10c2bb /rsc/source/rscpp/cpp.h | |
parent | 2b97ae3221f9759f6253540214e9ff2a52a76efb (diff) |
rsc: remove support for DECUS
and consequently unused define "nomacargs"
Change-Id: Ica5da9cf03ad63bf07b3385995ebf420ffb28089
Diffstat (limited to 'rsc/source/rscpp/cpp.h')
-rw-r--r-- | rsc/source/rscpp/cpp.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/rsc/source/rscpp/cpp.h b/rsc/source/rscpp/cpp.h index 250b0dc1eb51..7f453756e61e 100644 --- a/rsc/source/rscpp/cpp.h +++ b/rsc/source/rscpp/cpp.h @@ -38,12 +38,7 @@ extern FILE *pDefOut; /* ER */ /* limit for reading commandfiles */ #define PARALIMIT 100 -#ifndef EOS -/* - * This is predefined in Decus C - */ #define EOS '\0' /* End of string */ -#endif #define EOF_CHAR 0 /* Returned by get() on eof */ #define NULLST ((char *) NULL) /* Pointer to nowhere (linted) */ #define DEF_NOARGS (-1) /* #define foo vs #define foo() */ @@ -202,35 +197,15 @@ typedef struct sizes { int size; /* this is the datum size value */ int psize; /* this is the pointer size */ } SIZES; -/* - * nomacarg is a built-in #define on Decus C. - */ -#ifdef nomacarg -#define cput output /* cput concatenates tokens */ -#else #define cput(c) { if (c != TOK_SEP) PUTCHAR(c); } -#endif - -#ifndef nomacarg #define streq(s1, s2) (strcmp(s1, s2) == 0) -#endif /* * Error codes. - * Decus C codes are defined in stdio.h. - * Others are cooked to order. */ - -/* - * Note: IO_NORMAL and IO_ERROR are defined in the Decus C stdio.h file - */ -#ifndef IO_NORMAL #define IO_NORMAL 0 -#endif -#ifndef IO_ERROR #define IO_ERROR 1 -#endif /* * Externs |