Fix Z80 assembly failure.

PR 28762
	* app.c (do_scrub_chars): Correct handling when the symbol is not 'af'.
This commit is contained in:
Sergey Belyashov 2022-01-17 13:00:17 +00:00 committed by Nick Clifton
parent 8bf10e2e77
commit 1adce770ea
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2022-01-17 Sergey Belyashov <sergey.belyashov@gmail.com>
PR 28762
* app.c (do_scrub_chars): Correct handling when the symbol is not 'af'.
2021-12-16 Nick Clifton <nickc@redhat.com>
PR 28686

View File

@ -748,6 +748,8 @@ do_scrub_chars (size_t (*get) (char *, size_t), char *tostart, size_t tolen)
}
else
{
if (ch != EOF)
UNGET (ch);
state = 9;
break;
}