diff options
Diffstat (limited to 'compiler/ncnv.pas')
-rw-r--r-- | compiler/ncnv.pas | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/ncnv.pas b/compiler/ncnv.pas index a76cac6189..5c710c86cf 100644 --- a/compiler/ncnv.pas +++ b/compiler/ncnv.pas @@ -686,7 +686,7 @@ implementation begin result:=false; if (m_nested_procvars in current_settings.modeswitches) and - ([m_tp_procvar,m_mac_procvar]*current_settings.modeswitches=[]) and + not(m_tp_procvar in current_settings.modeswitches) and (todef.typ=procvardef) and is_nested_pd(tprocvardef(todef)) and (fromnode.nodetype=typeconvn) and |