Mercurial > hg > CbC > CbC_gcc
comparison gcc/ada/sfn_scan.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 -- 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-2017, Free Software Foundation, Inc. -- | 9 -- Copyright (C) 2000-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- -- |
104 -- P is unchanged (except for possibly skipping past whitespace), | 104 -- P is unchanged (except for possibly skipping past whitespace), |
105 -- and False is returned. T may contain only lower-case letters | 105 -- and False is returned. T may contain only lower-case letters |
106 -- ('a' .. 'z'). | 106 -- ('a' .. 'z'). |
107 | 107 |
108 procedure Error (Err : String); | 108 procedure Error (Err : String); |
109 pragma No_Return (Error); | |
109 -- Called if an error is detected. Raises Syntax_Error_In_GNAT_ADC | 110 -- Called if an error is detected. Raises Syntax_Error_In_GNAT_ADC |
110 -- with a message of the form gnat.adc:line:col: xxx, where xxx is | 111 -- with a message of the form gnat.adc:line:col: xxx, where xxx is |
111 -- the string Err passed as a parameter. | 112 -- the string Err passed as a parameter. |
112 | 113 |
113 procedure Require_Token (T : String); | 114 procedure Require_Token (T : String); |