Skip to content

Commit b917bb3

Browse files
committed
Merged with latest.
2 parents 617ca90 + 373a869 commit b917bb3

File tree

11 files changed

+817
-795
lines changed

11 files changed

+817
-795
lines changed

Diff for: cpp.h

+14-14
Original file line numberDiff line numberDiff line change
@@ -35,24 +35,24 @@
3535

3636
#include <stdlib.h>
3737
#include <string.h>
38-
#ifndef toupper
39-
#define toupper(c) ((c) + ('A' - 'a'))
40-
#endif /* no toupper */
41-
#ifndef tolower
42-
#define tolower(c) ((c) + ('a' - 'A'))
43-
#endif /* no tolower */
44-
45-
#ifndef TRUE
46-
#define TRUE 1
47-
#define FALSE 0
38+
#ifndef fpp_toupper
39+
#define fpp_toupper(c) ((c) + ('A' - 'a'))
40+
#endif /* no fpp_toupper */
41+
#ifndef fpp_tolower
42+
#define fpp_tolower(c) ((c) + ('a' - 'A'))
43+
#endif /* no fpp_tolower */
44+
45+
#ifndef FPP_TRUE
46+
#define FPP_TRUE 1
47+
#define FPP_FALSE 0
4848
#endif
4949
#ifndef EOS
5050
/*
5151
* This is predefined in Decus C
5252
*/
5353
#define EOS '\0' /* End of string */
5454
#endif
55-
#define EOF_CHAR 0 /* Returned by get() on eof */
55+
#define EOF_CHAR 0 /* Returned by fpp_get() on eof */
5656
#define NULLST ((char *) NULL) /* Pointer to nowhere (linted) */
5757
#define DEF_NOARGS (-1) /* #define foo vs #define foo() */
5858

@@ -139,9 +139,9 @@
139139
/*
140140
* These bits are set in ifstack[]
141141
*/
142-
#define WAS_COMPILING 1 /* TRUE if compile set at entry */
143-
#define ELSE_SEEN 2 /* TRUE when #else processed */
144-
#define TRUE_SEEN 4 /* TRUE when #if TRUE processed */
142+
#define WAS_COMPILING 1 /* FPP_TRUE if compile set at entry */
143+
#define ELSE_SEEN 2 /* FPP_TRUE when #else processed */
144+
#define FPP_TRUE_SEEN 4 /* FPP_TRUE when #if FPP_TRUE processed */
145145

146146
/*
147147
* Define bits for the basic types and their adjectives

0 commit comments

Comments
 (0)