diff options
author | Tristan Gingold <tgingold@free.fr> | 2021-01-09 08:38:26 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2021-01-09 09:17:50 +0100 |
commit | d2990978f76425b736e01c936e878048e4801f65 (patch) | |
tree | 7cfeab2180fd45b026e08e4fa896dbc0077cece9 /src/vhdl/vhdl-tokens.adb | |
parent | adcfcc7f7703e9c26018f3fb7353a19797d263c8 (diff) | |
download | ghdl-d2990978f76425b736e01c936e878048e4801f65.tar.gz ghdl-d2990978f76425b736e01c936e878048e4801f65.tar.bz2 ghdl-d2990978f76425b736e01c936e878048e4801f65.zip |
vhdl: rework formatter engine, add 'ghdl fmt' command
Diffstat (limited to 'src/vhdl/vhdl-tokens.adb')
-rw-r--r-- | src/vhdl/vhdl-tokens.adb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/vhdl/vhdl-tokens.adb b/src/vhdl/vhdl-tokens.adb index eb98894f3..efb31de1a 100644 --- a/src/vhdl/vhdl-tokens.adb +++ b/src/vhdl/vhdl-tokens.adb @@ -52,13 +52,18 @@ package body Vhdl.Tokens is when Tok_Dot => return "."; + when Tok_Block_Comment_Start => + return "/*"; + when Tok_Block_Comment_End => + return "*/"; + when Tok_Eof => return "<EOF>"; when Tok_Newline => return "<newline>"; when Tok_Line_Comment => return "<line-comment>"; - when Tok_Block_Comment => + when Tok_Block_Comment_Text => return "<block-comment>"; when Tok_Character => return "<character>"; |