-- --
-- B o d y --
-- --
--- $Revision: 1.6 $
+-- $Revision$
-- --
--- Copyright (C) 1992-2001, Free Software Foundation, Inc. --
+-- Copyright (C) 1992-2002, Free Software Foundation, Inc. --
-- --
-- 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- --
-----------------------
procedure Store_Char
- (File : File_Type;
- WC : Wide_Character;
+ (WC : Wide_Character;
Buf : out Wide_String;
Ptr : in out Integer);
-- Store a single character in buffer, checking for overflow.
-- least in the OS/2 version.
function To_Lower (C : Character) return Character;
- function To_Upper (C : Character) return Character;
------------------
-- Get_Enum_Lit --
if ch = Character'Pos (''') then
Get (File, WC);
- Store_Char (File, WC, Buf, Buflen);
+ Store_Char (WC, Buf, Buflen);
ch := Nextc (TFT (File));
end if;
Get (File, WC);
- Store_Char (File, WC, Buf, Buflen);
+ Store_Char (WC, Buf, Buflen);
ch := Nextc (TFT (File));
end if;
Get (File, WC);
- Store_Char (File, WC, Buf, Buflen);
+ Store_Char (WC, Buf, Buflen);
-- Similarly for identifiers, read as far as we can, in particular,
-- do read a trailing underscore (again see ACVC test CE3905L to
loop
Get (File, WC);
- Store_Char (File, WC, Buf, Buflen);
+ Store_Char (WC, Buf, Buflen);
ch := Nextc (TFT (File));
----------------
procedure Store_Char
- (File : File_Type;
- WC : Wide_Character;
+ (WC : Wide_Character;
Buf : out Wide_String;
Ptr : in out Integer)
is
end if;
end To_Lower;
- --------------
- -- To_Upper --
- --------------
-
- function To_Upper (C : Character) return Character is
- begin
- if C in 'a' .. 'z' then
- return Character'Val (Character'Pos (C) - 32);
- else
- return C;
- end if;
- end To_Upper;
-
end Ada.Wide_Text_IO.Enumeration_Aux;