diff options
author | Lukas Larsson <[email protected]> | 2015-11-02 17:41:52 +0100 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2015-11-02 17:41:52 +0100 |
commit | 72cc231e0186d98e52f7a1debdea624d4bbf1125 (patch) | |
tree | f70983e4c42645af09fca2a91e7e031d8783863b /erts/emulator/beam/beam_debug.c | |
parent | 6a421403ce98d1863f416d9ca00b8f2de07b419a (diff) | |
parent | f76ba62c7869bb7bbda27446d0a9f7214062db4f (diff) | |
download | otp-72cc231e0186d98e52f7a1debdea624d4bbf1125.tar.gz otp-72cc231e0186d98e52f7a1debdea624d4bbf1125.tar.bz2 otp-72cc231e0186d98e52f7a1debdea624d4bbf1125.zip |
Merge branch 'lukas/erts/win32_bool_fix/OTP-13079' into maint
* lukas/erts/win32_bool_fix/OTP-13079:
erts: bool is a reserved word, use boolean instead
Diffstat (limited to 'erts/emulator/beam/beam_debug.c')
-rw-r--r-- | erts/emulator/beam/beam_debug.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/erts/emulator/beam/beam_debug.c b/erts/emulator/beam/beam_debug.c index c774a70d4c..90985e4f53 100644 --- a/erts/emulator/beam/beam_debug.c +++ b/erts/emulator/beam/beam_debug.c @@ -79,7 +79,7 @@ erts_debug_breakpoint_2(BIF_ALIST_2) { Process* p = BIF_P; Eterm MFA = BIF_ARG_1; - Eterm bool = BIF_ARG_2; + Eterm boolean = BIF_ARG_2; Eterm* tp; Eterm mfa[3]; int i; @@ -87,7 +87,7 @@ erts_debug_breakpoint_2(BIF_ALIST_2) Eterm res; BpFunctions f; - if (bool != am_true && bool != am_false) + if (boolean != am_true && boolean != am_false) goto error; if (is_not_tuple(MFA)) { @@ -124,7 +124,7 @@ erts_debug_breakpoint_2(BIF_ALIST_2) erts_smp_thr_progress_block(); erts_bp_match_functions(&f, mfa, specified); - if (bool == am_true) { + if (boolean == am_true) { erts_set_debug_break(&f); erts_install_breakpoints(&f); erts_commit_staged_bp(); |