commit | 94e4052a8aefc1041afa230b82eab96a2a18470e | [log] [tgz] |
---|---|---|
author | H. Peter Anvin <hpa@zytor.com> | Tue Jan 24 12:26:09 2017 -0800 |
committer | H. Peter Anvin <hpa@zytor.com> | Tue Jan 24 12:26:09 2017 -0800 |
tree | 03cb30a8588e7f026e1345cd595c1ed29dfa2eb8 | |
parent | 4eb7a1f089ecf8f27184295c56045d8fe2996a51 [diff] [blame] |
nasm_build_assert() -> nasm_static_assert() The C11 standard calls this concept a static assert, so go with that terminology. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
diff --git a/asm/parser.c b/asm/parser.c index 23183de..5fc4667 100644 --- a/asm/parser.c +++ b/asm/parser.c
@@ -492,7 +492,7 @@ if (i == TOKEN_EOS) goto fail; - nasm_build_assert(P_none == 0); + nasm_static_assert(P_none == 0); memset(result->prefixes, P_none, sizeof(result->prefixes)); result->times = 1L;