Mercurial > hg > CbC > CbC_gcc
comparison gcc/ada/libgnat/s-valboo.ads @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 84e7813d76e9 |
children |
comparison
equal
deleted
inserted
replaced
131:84e7813d76e9 | 145:1830386684a0 |
---|---|
4 -- -- | 4 -- -- |
5 -- S Y S T E M . V A L _ B O O L -- | 5 -- S Y S T E M . V A L _ B O O L -- |
6 -- -- | 6 -- -- |
7 -- S p e c -- | 7 -- S p e c -- |
8 -- -- | 8 -- -- |
9 -- Copyright (C) 1992-2018, Free Software Foundation, Inc. -- | 9 -- Copyright (C) 1992-2019, 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- -- |
28 -- Extensive contributions were provided by Ada Core Technologies Inc. -- | 28 -- Extensive contributions were provided by Ada Core Technologies Inc. -- |
29 -- -- | 29 -- -- |
30 ------------------------------------------------------------------------------ | 30 ------------------------------------------------------------------------------ |
31 | 31 |
32 package System.Val_Bool is | 32 package System.Val_Bool is |
33 pragma Pure; | 33 pragma Preelaborate; |
34 | 34 |
35 function Value_Boolean (Str : String) return Boolean; | 35 function Value_Boolean (Str : String) return Boolean; |
36 -- Computes Boolean'Value (Str) | 36 -- Computes Boolean'Value (Str) |
37 | 37 |
38 end System.Val_Bool; | 38 end System.Val_Bool; |