diff options
author | Tristan Gingold <tgingold@free.fr> | 2018-01-19 06:10:41 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2018-01-20 07:40:53 +0100 |
commit | c763877e06400de084ccaffae61ccc98e451c474 (patch) | |
tree | 65e20a39f4ff68808662f6d800602c4793600245 /src/vhdl/scanner.ads | |
parent | c46dc8215f1d873c0f149cf06875284d9ccbd1a1 (diff) | |
download | ghdl-c763877e06400de084ccaffae61ccc98e451c474.tar.gz ghdl-c763877e06400de084ccaffae61ccc98e451c474.tar.bz2 ghdl-c763877e06400de084ccaffae61ccc98e451c474.zip |
name_table: get rid of Nam_Buffer/Nam_Length.
Diffstat (limited to 'src/vhdl/scanner.ads')
-rw-r--r-- | src/vhdl/scanner.ads | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vhdl/scanner.ads b/src/vhdl/scanner.ads index 8907975f4..5ed6f04db 100644 --- a/src/vhdl/scanner.ads +++ b/src/vhdl/scanner.ads @@ -27,6 +27,9 @@ package Scanner is -- It can be replaced by a function call. Current_Token: Token_Type := Tok_Invalid; + -- Maximal length for identifiers. + Max_Name_Length : constant Natural := 1024; + -- Simply set current_token to tok_invalid. procedure Invalidate_Current_Token; pragma Inline (Invalidate_Current_Token); |