From 694a4d2744f252b326121c37c2271133e0ec535f Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Mon, 21 Jul 2014 07:47:19 +0200 Subject: Add overflow literal. --- iirs.ads | 31 +++++++++++++++++++++---------- 1 file changed, 21 insertions(+), 10 deletions(-) (limited to 'iirs.ads') diff --git a/iirs.ads b/iirs.ads index 34e86891d..21e05a40e 100644 --- a/iirs.ads +++ b/iirs.ads @@ -300,6 +300,16 @@ package Iirs is -- List of elements -- Get/Set_Simple_Aggregate_List (Field3) + -- Iir_Kind_Overflow_Literal (Short) + -- This node can only be generated by evaluation to represent an error: out + -- of range, division by zero... + -- + -- Get/Set_Type (Field1) + -- + -- Get/Set_Literal_Origin (Field2) + -- + -- Get/Set_Expr_Staticness (State1) + ------------ -- Tuples -- ------------ @@ -557,10 +567,10 @@ package Iirs is -- -- Get/Set_Type (Field1) -- - -- Get/Set_Prefix (Field3) - -- -- Get/Set_Selected_Element (Field2) -- + -- Get/Set_Prefix (Field3) + -- -- Get/Set_Base_Name (Field5) -- -- Get/Set_Expr_Staticness (State1) @@ -2565,10 +2575,10 @@ package Iirs is -- -- Get/Set_Type (Field1) -- - -- Get/Set_Prefix (Field3) - -- -- Get/Set_Suffix (Field2) -- + -- Get/Set_Prefix (Field3) + -- -- Get/Set_Base_Name (Field5) -- -- Get/Set_Expr_Staticness (State1) @@ -2583,11 +2593,11 @@ package Iirs is -- Always returns null_iir. -- Get/Set_Type (Field1) -- + -- Get/Set_Association_Chain (Field2) + -- -- Get/Set_Prefix (Field3) -- -- Get/Set_Named_Entity (Field4) - -- - -- Get/Set_Association_Chain (Field2) ---------------- -- attributes -- @@ -2595,12 +2605,12 @@ package Iirs is -- Iir_Kind_Attribute_Name (Short) -- + -- Get/Set_Type (Field1) + -- -- Get/Set_Attribute_Identifier (Field2) -- -- Get/Set_Prefix (Field3) -- - -- Get/Set_Type (Field1) - -- -- Get/Set_Named_Entity (Field4) -- -- Get/Set_Signature (Field5) @@ -2731,11 +2741,11 @@ package Iirs is -- -- Get/Set_Type (Field1) -- - -- Get/Set_Prefix (Field3) - -- -- Only for Iir_Kind_Simple_Name_Attribute: -- Get/Set_Simple_Name_Identifier (Field2) -- + -- Get/Set_Prefix (Field3) + -- -- Get/Set_Base_Name (Field5) -- -- Get/Set_Expr_Staticness (State1) @@ -2790,6 +2800,7 @@ package Iirs is Iir_Kind_Physical_Fp_Literal, Iir_Kind_Bit_String_Literal, Iir_Kind_Simple_Aggregate, + Iir_Kind_Overflow_Literal, -- Tuple, Iir_Kind_Proxy, -- cgit v1.2.3