From: Alan Cox Date: Wed, 15 Nov 2017 21:12:04 +0000 (+0000) Subject: as: Allow #constant in Z80. X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=3fe74f80dc662215a7e240279f867bfb10af128b;p=FUZIX.git as: Allow #constant in Z80. Yes it's an abomination but some assemblers in common use want this. --- diff --git a/Applications/MWC/cmd/asz80/as1.c b/Applications/MWC/cmd/asz80/as1.c index de5b16ea..74b444f6 100644 --- a/Applications/MWC/cmd/asz80/as1.c +++ b/Applications/MWC/cmd/asz80/as1.c @@ -63,7 +63,7 @@ void getaddr(ADDR *ap) ap->a_flags |= A_LOW; else if (c == '>') ap->a_flags |= A_HIGH; - else + else if (c != '#') unget(c); expr1(ap, LOPRI, 0); return;