comparison gcc/ada/par-ch10.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 -- P A R . C H 1 0 -- 5 -- P A R . C H 1 0 --
6 -- -- 6 -- --
7 -- B o d y -- 7 -- B o d y --
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- --
395 if Token = Tok_Begin 395 if Token = Tok_Begin
396 or else Token = Tok_Identifier 396 or else Token = Tok_Identifier
397 or else Token in Token_Class_Deckn 397 or else Token in Token_Class_Deckn
398 then 398 then
399 Push_Scope_Stack; 399 Push_Scope_Stack;
400 Scope.Table (Scope.Last).Etyp := E_Name; 400 Scopes (Scope.Last).Etyp := E_Name;
401 Scope.Table (Scope.Last).Sloc := SIS_Sloc; 401 Scopes (Scope.Last).Sloc := SIS_Sloc;
402 Scope.Table (Scope.Last).Ecol := SIS_Ecol; 402 Scopes (Scope.Last).Ecol := SIS_Ecol;
403 Scope.Table (Scope.Last).Lreq := False; 403 Scopes (Scope.Last).Lreq := False;
404 SIS_Entry_Active := False; 404 SIS_Entry_Active := False;
405 405
406 -- If we had a missing semicolon in the declaration, then 406 -- If we had a missing semicolon in the declaration, then
407 -- change the message to from <missing ";"> to <missing "is"> 407 -- change the message to from <missing ";"> to <missing "is">
408 408