aboutsummaryrefslogtreecommitdiff
path: root/scripts/genoptions.lua
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/genoptions.lua')
-rw-r--r--scripts/genoptions.lua7
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/genoptions.lua b/scripts/genoptions.lua
index da53d010bd..9f7d94969d 100644
--- a/scripts/genoptions.lua
+++ b/scripts/genoptions.lua
@@ -57,9 +57,14 @@ local get_flags = function(o)
add_flag(redraw_flags[r_flag])
end
end
+ if o.expand then
+ add_flag('P_EXPAND')
+ if o.expand == 'nodefault' then
+ add_flag('P_NO_DEF_EXP')
+ end
+ end
for _, flag_desc in ipairs({
{'alloced'},
- {'expand'},
{'nodefault'},
{'no_mkrc'},
{'vi_def'},