diff options
| author | Juli Mallett <jmallett@FreeBSD.org> | 2002-04-20 01:49:10 +0000 |
|---|---|---|
| committer | Juli Mallett <jmallett@FreeBSD.org> | 2002-04-20 01:49:10 +0000 |
| commit | ccc5b4e6f4e2cc1a1fb4acfaa8dae6db269b3f6e (patch) | |
| tree | 9d6147d43f9f794cfc750ecb3f50fb216c889a70 /usr.bin/m4/mdef.h | |
| parent | 5ce9299f0551f4f6ceeea4e3efaa3a51f30438fc (diff) | |
Notes
Diffstat (limited to 'usr.bin/m4/mdef.h')
| -rw-r--r-- | usr.bin/m4/mdef.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/usr.bin/m4/mdef.h b/usr.bin/m4/mdef.h index 46ec643320ee7..183f7539c9556 100644 --- a/usr.bin/m4/mdef.h +++ b/usr.bin/m4/mdef.h @@ -145,7 +145,7 @@ struct ndblock { /* hastable structure */ #define nil ((ndptr) 0) struct keyblk { - char *knam; /* keyword name */ + const char *knam; /* keyword name */ int ktyp; /* keyword type */ }; @@ -166,13 +166,9 @@ struct input_file { /* * macros for readibility and/or speed * - * gpbc() - get a possibly pushed-back character * pushf() - push a call frame entry onto stack * pushs() - push a string pointer onto stack */ -#define gpbc() (bp > bufbase) ? (*--bp ? (*bp & 0xFF) : EOF) : \ - ((chscratch = obtain_char(infile+ilevel)) == '\n' && \ - ++inlineno[ilevel], chscratch) #define pushf(x) \ do { \ if (++sp == STACKMAX) \ |
