From cd9300765e7e3fd43e450777e98a778146f700c2 Mon Sep 17 00:00:00 2001 From: gingold Date: Sat, 30 Aug 2008 13:30:19 +0000 Subject: Switch to gcc 4.3 Don't use tagged types in grt (not supported by recent versions of GNAT) Fix warnings --- evaluation.adb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'evaluation.adb') diff --git a/evaluation.adb b/evaluation.adb index 495e59abe..ddb110988 100644 --- a/evaluation.adb +++ b/evaluation.adb @@ -15,7 +15,6 @@ -- along with GCC; see the file COPYING. If not, write to the Free -- Software Foundation, 59 Temple Place - Suite 330, Boston, MA -- 02111-1307, USA. -with Types; use Types; with Errorout; use Errorout; with Name_Table; use Name_Table; with Str_Table; @@ -354,7 +353,6 @@ package body Evaluation is function Eval_String_Literal (Str : Iir) return Iir is - use Name_Table; Ptr : String_Fat_Acc; Len : Natural; begin @@ -495,8 +493,8 @@ package body Evaluation is return Iir is use Str_Table; - L_Str : String_Fat_Acc := Get_String_Fat_Acc (Left); - R_Str : String_Fat_Acc := Get_String_Fat_Acc (Right); + L_Str : constant String_Fat_Acc := Get_String_Fat_Acc (Left); + R_Str : constant String_Fat_Acc := Get_String_Fat_Acc (Right); Len : Natural; Id : String_Id; begin -- cgit v1.2.3