diff options
author | Cyrill Gorcunov <gorcunov@gmail.com> | 2015-07-26 16:42:27 +0300 |
---|---|---|
committer | Cyrill Gorcunov <gorcunov@gmail.com> | 2015-07-26 16:42:27 +0300 |
commit | 94b4a2c819670dcd69b428c97e3f12e865725035 (patch) | |
tree | a1bf9b7e9977fc8ccaee57b7959b4caea9d84a9c | |
parent | 373583c6c860d66caec6381523242744d2b28cc4 (diff) | |
download | nasm-94b4a2c819670dcd69b428c97e3f12e865725035.tar.gz |
output: aout -- Use nasm_x_space helpers
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
-rw-r--r-- | output/outaout.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/output/outaout.c b/output/outaout.c index cbd7ef15..575089c6 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; |