From 027728b3c419014e299f5529c8a761fe766755c3 Mon Sep 17 00:00:00 2001 From: ISSOtm Date: Mon, 4 Jun 2018 17:03:50 +0200 Subject: Fix empty line handling --- tools/make_shim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/make_shim.c b/tools/make_shim.c index 70da31d..b5a7517 100644 --- a/tools/make_shim.c +++ b/tools/make_shim.c @@ -116,7 +116,7 @@ int main(int argc, char * argv[]) { end = strchr(lineptr, ';'); if (end) *end = 0; lineptr[strrspn(lineptr, " \t\n")] = 0; - if (!*line) + if (!*lineptr) continue; // Get the bank, address, and symbol -- cgit v1.2.3