From 25ce6721060f2608944a4280f1d93bab69c12690 Mon Sep 17 00:00:00 2001 From: curt mayer Date: Thu, 20 Feb 2020 16:57:40 -0800 Subject: [PATCH] suppress warnings --- Tools/unix/uz80as/uz80as.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Tools/unix/uz80as/uz80as.c b/Tools/unix/uz80as/uz80as.c index 6f03829b..ca2955b7 100644 --- a/Tools/unix/uz80as/uz80as.c +++ b/Tools/unix/uz80as/uz80as.c @@ -467,6 +467,7 @@ found: static const char * d_null(const char *p) { + p = sync(p); while (*p != '\0' && *p != '\\') { if (!isspace(*p)) { wprint(_("invalid characters after directive\n")); @@ -515,6 +516,7 @@ static const char *d_codes(const char *p) static const char *d_module(const char *p) { + p = sync(p); while (*p != '\0' && *p != '\\') { if (!isspace(*p)) { wprint(_("invalid characters after directive\n"));