diff options
Diffstat (limited to 'gcc/ada/scn-nlit.adb')
-rw-r--r-- | gcc/ada/scn-nlit.adb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/scn-nlit.adb b/gcc/ada/scn-nlit.adb index d1fc9ea325f..0edb5d4c224 100644 --- a/gcc/ada/scn-nlit.adb +++ b/gcc/ada/scn-nlit.adb @@ -356,7 +356,7 @@ begin -- This is especially useful when parsing garbled input. elsif Operating_Mode /= Check_Syntax - and then (Errors_Detected = 0 or else Try_Semantics) + and then (Serious_Errors_Detected = 0 or else Try_Semantics) then Set_Intval (Token_Node, UI_Num_Value * UI_Base ** UI_Scale); |