aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/simulate/simul-debugger.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-05-04 16:49:19 +0200
committerTristan Gingold <tgingold@free.fr>2019-05-04 19:24:20 +0200
commitfc028b5d21727da66dc8e146b3dbcfc870c64f90 (patch)
tree59462a5173067a24482976035564e135ce4303c0 /src/vhdl/simulate/simul-debugger.adb
parent7cee2ba98f47f6ee7b7ffbe0d9555a972c8afc8b (diff)
downloadghdl-fc028b5d21727da66dc8e146b3dbcfc870c64f90.tar.gz
ghdl-fc028b5d21727da66dc8e146b3dbcfc870c64f90.tar.bz2
ghdl-fc028b5d21727da66dc8e146b3dbcfc870c64f90.zip
vhdl: move scanner under vhdl hierarchy.
Diffstat (limited to 'src/vhdl/simulate/simul-debugger.adb')
-rw-r--r--src/vhdl/simulate/simul-debugger.adb10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/vhdl/simulate/simul-debugger.adb b/src/vhdl/simulate/simul-debugger.adb
index ba15bb329..3e868a44a 100644
--- a/src/vhdl/simulate/simul-debugger.adb
+++ b/src/vhdl/simulate/simul-debugger.adb
@@ -24,7 +24,7 @@ with Name_Table;
with Str_Table;
with Files_Map;
with Parse;
-with Scanner;
+with Vhdl.Scanner;
with Tokens;
with Sem_Expr;
with Sem_Scopes;
@@ -1899,13 +1899,13 @@ package body Simul.Debugger is
File := Files_Map.Create_Source_File_From_String
(Name_Table.Get_Identifier ("*debug" & Index_Str & '*'),
Line (P .. Line'Last));
- Scanner.Set_File (File);
- Scanner.Scan;
+ Vhdl.Scanner.Set_File (File);
+ Vhdl.Scanner.Scan;
Expr := Parse.Parse_Expression;
- if Scanner.Current_Token /= Tok_Eof then
+ if Vhdl.Scanner.Current_Token /= Tok_Eof then
Put_Line ("garbage at end of expression ignored");
end if;
- Scanner.Close_File;
+ Vhdl.Scanner.Close_File;
if Nbr_Errors /= 0 then
Put_Line ("error while parsing expression, evaluation aborted");
Nbr_Errors := 0;