diff --git a/source/fscanner.l b/source/fscanner.l index 2b236c5..6fa0e71 100644 --- a/source/fscanner.l +++ b/source/fscanner.l @@ -601,7 +601,7 @@ if{wsnl}*\( { /* ignore 'if' */ } /* if found word was a keyword: */ - if ((s = lookup(my_yytext + first)) != NULL) { + if ((s = lookup(my_yytext + first, compress)) != NULL) { first = my_yyleng; /* if the start of a typedef */ diff --git a/source/global.h b/source/global.h index 4d751db..0c157a5 100644 --- a/source/global.h +++ b/source/global.h @@ -224,7 +224,7 @@ char *findinclude(const char *pattern); char *findassign(const char *pattern); char *findallfcns(const char *dummy); char *inviewpath(char *file); -char *lookup(char *ident); +char *lookup(char *ident, bool do_compressed); char *pathcomponents(char *path, int components); char *read_block(void); char *scanpast(char c); diff --git a/source/lookup.c b/source/lookup.c index c7bb685..ae52e97 100644 --- a/source/lookup.c +++ b/source/lookup.c @@ -112,7 +112,7 @@ void initsymtab(void) { /* see if this identifier is a keyword */ -char *lookup(char *ident) { +char * lookup(char *ident, bool do_compressed) { struct keystruct *p; int c;