diff options
author | kdx <kikoodx@paranoici.org> | 2023-03-16 04:47:53 +0100 |
---|---|---|
committer | kdx <kikoodx@paranoici.org> | 2023-03-16 04:47:53 +0100 |
commit | fd20e3aaa63c2b79b4be8924208e5601e35e9ee7 (patch) | |
tree | dd7f62416a1933dc4f96adcc33c80d60bc8fd038 | |
parent | 43e1ebac939e5d83b0e934449a02322ea044a3d1 (diff) | |
download | golem-fd20e3aaa63c2b79b4be8924208e5601e35e9ee7.tar.gz |
fix a woopsy
-rw-r--r-- | identify.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -35,7 +35,7 @@ int identify_function(Token **list) { for (Token *e = *list; e != NULL; e = e->next) { - if (e->next == NULL && !token_isgroup(*list, GROUP_SCOPE)) + if (e->next == NULL && !token_isgroup(e, GROUP_SCOPE)) return 0; if (e->next != NULL && e->type != TOK_WORD) return 0; |