Mercurial > hg > CbC > CbC_gcc
comparison gcc/ada/switch-c.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 -- S W I T C H - C -- | 5 -- S W I T C H - C -- |
6 -- -- | 6 -- -- |
7 -- B o d y -- | 7 -- B o d y -- |
8 -- -- | 8 -- -- |
9 -- Copyright (C) 2001-2018, Free Software Foundation, Inc. -- | 9 -- Copyright (C) 2001-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- -- |
1202 while Ptr <= Max loop | 1202 while Ptr <= Max loop |
1203 C := Switch_Chars (Ptr); | 1203 C := Switch_Chars (Ptr); |
1204 | 1204 |
1205 case C is | 1205 case C is |
1206 | 1206 |
1207 when '0' .. '3' => | 1207 when '0' .. '4' => |
1208 List_Representation_Info := | 1208 List_Representation_Info := |
1209 Character'Pos (C) - Character'Pos ('0'); | 1209 Character'Pos (C) - Character'Pos ('0'); |
1210 | 1210 |
1211 when 's' => | 1211 when 's' => |
1212 List_Representation_Info_To_File := True; | 1212 List_Representation_Info_To_File := True; |