Mercurial > hg > CbC > CbC_gcc
comparison gcc/ada/xoscons.adb @ 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 -- 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-2018, Free Software Foundation, Inc. -- | 9 -- Copyright (C) 2008-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- -- |
227 | 227 |
228 when SUB => | 228 when SUB => |
229 case Lang is | 229 case Lang is |
230 when Lang_Ada => | 230 when Lang_Ada => |
231 Put (" subtype " & Info.Constant_Name.all | 231 Put (" subtype " & Info.Constant_Name.all |
232 & " is Interfaces.C." | 232 & " is " & Info.Text_Value.all & ";"); |
233 & Info.Text_Value.all & ";"); | |
234 when Lang_C => | 233 when Lang_C => |
235 Put ("#define " & Info.Constant_Name.all & " " | 234 Put ("#define " & Info.Constant_Name.all & " " |
236 & Info.Text_Value.all); | 235 & Info.Text_Value.all); |
237 end case; | 236 end case; |
238 | 237 |