commit | ed6ff8c1cb3136df1ea34ea2172fa84245c99c2b | [log] [tgz] |
---|---|---|
author | Arnold D. Robbins <arnold@skeeve.com> | Tue Feb 18 21:26:24 2020 +0200 |
committer | Arnold D. Robbins <arnold@skeeve.com> | Tue Feb 18 21:26:24 2020 +0200 |
tree | b73c2617ab73b8b87ad5d73f67e29a52a25024fa | |
parent | 94e4c04561f7b9c2a3e7ef498fbfe7ce5b20ed40 [diff] [blame] |
Small cleanups before merge to master.
diff --git a/maketab.c b/maketab.c index 5a04212..2384d51 100644 --- a/maketab.c +++ b/maketab.c
@@ -139,7 +139,7 @@ if (tokentype != TOK_ENUM) { n = sscanf(buf, "%1c %199s %199s %d", &c, def, name, &tok); - if (c == '#' && n == 4 && strcmp(def, "define") == 0) { + if (n == 4 && c == '#' && strcmp(def, "define") == 0) { tokentype = TOK_DEFINE; } else if (tokentype != TOK_UNKNOWN) { continue;