minor simplification
This commit is contained in:
parent
618c56893e
commit
15f0963408
@ -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 */
|
||||
|
@ -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);
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user