diff options
Diffstat (limited to 'gcc/ada/atree.adb')
-rw-r--r-- | gcc/ada/atree.adb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ada/atree.adb b/gcc/ada/atree.adb index 20ca189..0ff3d6e 100644 --- a/gcc/ada/atree.adb +++ b/gcc/ada/atree.adb @@ -1802,12 +1802,12 @@ package body Atree is -- The Ghost node is created within a Ghost region - if Ghost_Mode = Check then + if Ghost_Config.Ghost_Mode = Check then if Nkind (N) in N_Entity then Set_Is_Checked_Ghost_Entity (N); end if; - elsif Ghost_Mode = Ignore then + elsif Ghost_Config.Ghost_Mode = Ignore then if Nkind (N) in N_Entity then Set_Is_Ignored_Ghost_Entity (N); end if; |