diff options
Diffstat (limited to 'bcc/preproc.c')
-rw-r--r-- | bcc/preproc.c | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/bcc/preproc.c b/bcc/preproc.c index 1f35013..97e2a96 100644 --- a/bcc/preproc.c +++ b/bcc/preproc.c @@ -12,6 +12,16 @@ #include "table.h" #include "type.h" +/* blanksident() - return nonzero if at blanks followed by an identifier */ + +PUBLIC bool_pt blanksident() +{ + blanks(); + return isident(); +} + +#ifdef BUILTIN_CPP + #define MAX_IF 32 #define MAX__LINE__ 10 /* enough for 32-bit source unsigneds */ #define MAX_MACRO 32 @@ -138,14 +148,6 @@ PRIVATE void asmcontrol() outnstr("!BCC_ENDASM"); } -/* blanksident() - return nonzero if at blanks followed by an identifier */ - -PUBLIC bool_pt blanksident() -{ - blanks(); - return isident(); -} - PUBLIC void checknotinif() { while (iflevel != 0) @@ -1076,3 +1078,5 @@ char *str; { defineorundefinestring(str, FALSE); } + +#endif |