diff options
author | Tristan Gingold | 2014-01-09 18:58:10 +0100 |
---|---|---|
committer | Tristan Gingold | 2014-01-09 18:58:10 +0100 |
commit | 6c9a405aea04049c2dc3b0655306a5c44bf49592 (patch) | |
tree | eb64e8d2e6510a7bfe8562d18f3ba5b7990decb5 /translate/ghdldrv/ghdlprint.adb | |
parent | 4ca4f2c99c42e4962fccc388f9b6f23438504ac4 (diff) | |
download | ghdl-6c9a405aea04049c2dc3b0655306a5c44bf49592.tar.gz ghdl-6c9a405aea04049c2dc3b0655306a5c44bf49592.tar.bz2 ghdl-6c9a405aea04049c2dc3b0655306a5c44bf49592.zip |
Rename package Scan to Scanner.
Diffstat (limited to 'translate/ghdldrv/ghdlprint.adb')
-rw-r--r-- | translate/ghdldrv/ghdlprint.adb | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/translate/ghdldrv/ghdlprint.adb b/translate/ghdldrv/ghdlprint.adb index dfe44ff..3254059 100644 --- a/translate/ghdldrv/ghdlprint.adb +++ b/translate/ghdldrv/ghdlprint.adb @@ -27,7 +27,7 @@ with Libraries; with Errorout; use Errorout; with Iirs; use Iirs; with Tokens; -with Scan; +with Scanner; with Version; with Xrefs; with Ghdlmain; use Ghdlmain; @@ -76,7 +76,7 @@ package body Ghdlprint is procedure PP_Html_File (File : Source_File_Entry) is use Flags; - use Scan; + use Scanner; use Tokens; use Files_Map; use Ada.Characters.Latin_1; @@ -329,8 +329,8 @@ package body Ghdlprint is end if; end Disp_Attribute; begin - Scan.Flag_Comment := True; - Scan.Flag_Newline := True; + Scanner.Flag_Comment := True; + Scanner.Flag_Newline := True; Set_File (File); Buf := Get_File_Source (File); @@ -341,7 +341,7 @@ package body Ghdlprint is Last_Tok := Source_Ptr_Org; Prev_Tok := Tok_Invalid; loop - Scan.Scan; + Scan; Bef_Tok := Get_Token_Position; Aft_Tok := Get_Position; case Current_Token is @@ -848,7 +848,7 @@ package body Ghdlprint is procedure Perform_Action (Cmd : in out Command_Lines; Args : Argument_List) is pragma Unreferenced (Cmd); - use Scan; + use Scanner; use Tokens; use Files_Map; use Ada.Characters.Latin_1; @@ -879,7 +879,7 @@ package body Ghdlprint is -- Scan the content, to compute the number of lines. loop - Scan.Scan; + Scan; exit when Current_Token = Tok_Eof; end loop; File := Get_Current_Source_File; @@ -997,7 +997,7 @@ package body Ghdlprint is Files : Argument_List) is pragma Unreferenced (Cmd); - use Scan; + use Scanner; use Tokens; use Files_Map; use Ada.Characters.Latin_1; |