Fix reserved vars not being excluded when no --exclude-var specified
This commit is contained in:
parent
ee05577a2d
commit
99957ee3e5
1 changed files with 2 additions and 0 deletions
|
|
@ -46,6 +46,8 @@ void get_opts()
|
||||||
g_resolve=!options["no-resolve"].activated;
|
g_resolve=!options["no-resolve"].activated;
|
||||||
if(options["exclude-var"])
|
if(options["exclude-var"])
|
||||||
re_var_exclude=var_exclude_regex(options["exclude-var"]);
|
re_var_exclude=var_exclude_regex(options["exclude-var"]);
|
||||||
|
else
|
||||||
|
re_var_exclude=var_exclude_regex("");
|
||||||
if(options["exclude-fct"])
|
if(options["exclude-fct"])
|
||||||
re_fct_exclude=fct_exclude_regex(options["exclude-fct"]);
|
re_fct_exclude=fct_exclude_regex(options["exclude-fct"]);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue