aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/sinput-p.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/sinput-p.adb')
-rw-r--r--gcc/ada/sinput-p.adb5
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/ada/sinput-p.adb b/gcc/ada/sinput-p.adb
index 5edc13b..89befb6 100644
--- a/gcc/ada/sinput-p.adb
+++ b/gcc/ada/sinput-p.adb
@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
--- Copyright (C) 1992-2002 Free Software Foundation, Inc. --
+-- Copyright (C) 1992-2003 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- --
@@ -24,7 +24,6 @@
-- --
------------------------------------------------------------------------------
-with Prj; use Prj;
with Prj.Err;
with Sinput.C;
@@ -97,7 +96,7 @@ package body Sinput.P is
or else Token = Tok_Private
or else (Token not in Token_Class_Cunit and then Token /= Tok_EOF)
loop
- Scan;
+ Prj.Err.Scanner.Scan;
end loop;
return Token = Tok_Separate;