summaryrefslogtreecommitdiffstats
path: root/src/cmdexpand.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmdexpand.c')
-rw-r--r--src/cmdexpand.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmdexpand.c b/src/cmdexpand.c
index 7381b0e9b7..1a7f9f2ecd 100644
--- a/src/cmdexpand.c
+++ b/src/cmdexpand.c
@@ -1508,6 +1508,7 @@ set_one_cmd_context(
break;
#endif
#ifdef FEAT_EVAL
+ case CMD_const:
case CMD_let:
case CMD_if:
case CMD_elseif: