From 15f096340818f424f6537fbee36b8b50a3963fa4 Mon Sep 17 00:00:00 2001
From: anon <anon@anon.anon>
Date: Thu, 7 Nov 2024 15:23:25 +0100
Subject: [PATCH] minor simplification

---
 source/fscanner.l | 2 +-
 source/global.h   | 2 +-
 source/lookup.c   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

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;