From a8d778f8b36adf0449a839fd70dde43819d33bd3 Mon Sep 17 00:00:00 2001 From: Allen Webster Date: Mon, 29 May 2017 14:43:59 -0400 Subject: [PATCH] 4.0.20 SHIP --- 4coder_default_include.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/4coder_default_include.cpp b/4coder_default_include.cpp index 7a92ea82..59779f96 100644 --- a/4coder_default_include.cpp +++ b/4coder_default_include.cpp @@ -13,7 +13,10 @@ TYPE: 'major-system-include' #include "4coder_helper/4coder_jump_parsing.h" +// NOTE(allen): Define USE_OLD_STYLE_JUMPS before including to get the old jumps (instead of sticky jumps). +#if !defined(USE_OLD_STYLE_JUMPS) #define FCODER_JUMP_COMMANDS +#endif #include "4coder_default_framework.h" #include "4coder_base_commands.cpp" @@ -27,8 +30,10 @@ TYPE: 'major-system-include' #include "4coder_default_hooks.cpp" #include "4coder_function_list.cpp" +#if !defined(USE_OLD_STYLE_JUMPS) #undef FCODER_JUMP_COMMANDS #include "4coder_sticky_jump.cpp" +#endif #include "4coder_helper/4coder_bind_helper.h" #include "4coder_helper/4coder_helper.h"