Mercurial > hg > CbC > CbC_gcc
comparison gcc/ada/sfn_scan.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 F N _ S C A N -- | 5 -- S F N _ S C A N -- |
6 -- -- | 6 -- -- |
7 -- B o d y -- | 7 -- B o d y -- |
8 -- -- | 8 -- -- |
9 -- Copyright (C) 2000-2018, Free Software Foundation, Inc. -- | 9 -- Copyright (C) 2000-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- -- |
605 end if; | 605 end if; |
606 end loop Main_Scan_Loop; | 606 end loop Main_Scan_Loop; |
607 | 607 |
608 exception | 608 exception |
609 when others => | 609 when others => |
610 pragma Assert (P'Valid); | |
610 Cursor := P - S'First + 1; | 611 Cursor := P - S'First + 1; |
611 raise; | 612 raise; |
612 end Scan_SFN_Pragmas; | 613 end Scan_SFN_Pragmas; |
613 | 614 |
614 ----------------- | 615 ----------------- |