Commit 4646d048 by Arnaud Charlet

Update comments.

From-SVN: r148703
parent 1313f39c
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
-- -- -- --
-- S p e c -- -- S p e c --
-- -- -- --
-- Copyright (C) 1992-2008, Free Software Foundation, Inc. -- -- Copyright (C) 1992-2009, Free Software Foundation, Inc. --
-- -- -- --
-- GNAT is free software; you can redistribute it and/or modify it under -- -- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- -- -- terms of the GNU General Public License as published by the Free Soft- --
...@@ -248,17 +248,18 @@ package Sem is ...@@ -248,17 +248,18 @@ package Sem is
-- be available at the freeze point. -- be available at the freeze point.
In_Inlined_Body : Boolean := False; In_Inlined_Body : Boolean := False;
-- Switch to indicate that we are analyzing and resolving an inlined -- Switch to indicate that we are analyzing and resolving an inlined body.
-- body. Type checking is disabled in this context, because types are -- Type checking is disabled in this context, because types are known to be
-- known to be compatible. This avoids problems with private types whose -- compatible. This avoids problems with private types whose full view is
-- full view is derived from private types. -- derived from private types.
Inside_A_Generic : Boolean := False; Inside_A_Generic : Boolean := False;
-- This flag is set if we are processing a generic specification, -- This flag is set if we are processing a generic specification, generic
-- generic definition, or generic body. When this flag is True the -- definition, or generic body. When this flag is True the Expander_Active
-- Expander_Active flag is False to disable any code expansion (see -- flag is False to disable any code expansion (see package Expander). Only
-- package Expander). Only the generic processing can modify the -- the generic processing can modify the status of this flag, any other
-- status of this flag, any other client should regard it as read-only. -- client should regard it as read-only.
-- Probably should be called Inside_A_Generic_Template ???
Inside_Freezing_Actions : Nat := 0; Inside_Freezing_Actions : Nat := 0;
-- Flag indicating whether we are within a call to Expand_N_Freeze_Actions. -- Flag indicating whether we are within a call to Expand_N_Freeze_Actions.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment