diff options
author | Cyrill Gorcunov <gorcunov@gmail.com> | 2018-06-07 00:06:58 +0300 |
---|---|---|
committer | Cyrill Gorcunov <gorcunov@gmail.com> | 2018-06-07 00:06:58 +0300 |
commit | a7f318c307369f23d879c35984cf931befa89843 (patch) | |
tree | 44045be3d251accff238d8b1372e2415b888a95f | |
parent | 3cb9068ee07fe15d4085f70110be31b6443f97ed (diff) | |
download | nasm-a7f318c307369f23d879c35984cf931befa89843.tar.gz |
directive: Make cpu directive case insensitive back again
During code suffle we occasionally made cpu directive to
take letter case into account despite the documentation.
https://bugzilla.nasm.us/show_bug.cgi?id=3392491
Reported-by: Rebecca Cran <rebecca@bluestop.org>
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
-rw-r--r-- | asm/directiv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/asm/directiv.c b/asm/directiv.c index fa800b94..567a6bd3 100644 --- a/asm/directiv.c +++ b/asm/directiv.c @@ -102,7 +102,7 @@ static iflag_t get_cpu(const char *value) iflag_clear_all(&r); for (cpu = cpunames; cpu->name; cpu++) { - if (!strcmp(value, cpu->name)) + if (!nasm_stricmp(value, cpu->name)) break; } |