From: nasm-bot f. C. G. <gor...@gm...> - 2015-07-26 13:51:19
|
Commit-ID: 94b4a2c819670dcd69b428c97e3f12e865725035 Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=94b4a2c819670dcd69b428c97e3f12e865725035 Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Sun, 26 Jul 2015 16:42:27 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Sun, 26 Jul 2015 16:42:27 +0300 output: aout -- Use nasm_x_space helpers Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- output/outaout.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/output/outaout.c b/output/outaout.c index cbd7ef1..575089c 100644 --- a/output/outaout.c +++ b/output/outaout.c @@ -294,10 +294,7 @@ static void aout_deflabel(char *name, int32_t segment, int64_t offset, expr *e; char *p = special; - while (*p && !nasm_isspace(*p)) - p++; - while (*p && nasm_isspace(*p)) - p++; + p = nasm_skip_spaces(nasm_skip_word(p)); stdscan_reset(); stdscan_set(p); tokval.t_type = TOKEN_INVALID; |