Mercurial > hg > CbC > CbC_gcc
comparison gcc/ada/xoscons.adb @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children | 1830386684a0 |
comparison
equal
deleted
inserted
replaced
111:04ced10e8804 | 131:84e7813d76e9 |
---|---|
4 -- -- | 4 -- -- |
5 -- X O S C O N S -- | 5 -- X O S C O N S -- |
6 -- -- | 6 -- -- |
7 -- B o d y -- | 7 -- B o d y -- |
8 -- -- | 8 -- -- |
9 -- Copyright (C) 2008-2017, Free Software Foundation, Inc. -- | 9 -- Copyright (C) 2008-2018, Free Software Foundation, Inc. -- |
10 -- -- | 10 -- -- |
11 -- GNAT is free software; you can redistribute it and/or modify it under -- | 11 -- GNAT is free software; you can redistribute it and/or modify it under -- |
12 -- terms of the GNU General Public License as published by the Free Soft- -- | 12 -- terms of the GNU General Public License as published by the Free Soft- -- |
13 -- ware Foundation; either version 3, or (at your option) any later ver- -- | 13 -- ware Foundation; either version 3, or (at your option) any later ver- -- |
14 -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- | 14 -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- |
164 P2 : Boolean renames V2.Positive; | 164 P2 : Boolean renames V2.Positive; |
165 A1 : Long_Unsigned renames V1.Abs_Value; | 165 A1 : Long_Unsigned renames V1.Abs_Value; |
166 A2 : Long_Unsigned renames V2.Abs_Value; | 166 A2 : Long_Unsigned renames V2.Abs_Value; |
167 begin | 167 begin |
168 return (P1 and then not P2) | 168 return (P1 and then not P2) |
169 or else (P1 and then P2 and then A1 > A2) | 169 or else (P1 and then A1 > A2) |
170 or else (not P1 and then not P2 and then A1 < A2); | 170 or else (not P1 and then not P2 and then A1 < A2); |
171 end ">"; | 171 end ">"; |
172 | 172 |
173 --------- | 173 --------- |
174 -- "<" -- | 174 -- "<" -- |