diff options
author | Tristan Gingold <tgingold@free.fr> | 2019-05-30 14:28:12 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2019-05-30 14:28:12 +0200 |
commit | ad46e4bed268a9c4faefb503deec7dc5603a9be2 (patch) | |
tree | d7557d67b2b4539426a3ea008e9655233214604f /src/vhdl/vhdl-tokens.adb | |
parent | 5ca1572dbef924b659e7ecc912686d3941b5ae30 (diff) | |
download | ghdl-ad46e4bed268a9c4faefb503deec7dc5603a9be2.tar.gz ghdl-ad46e4bed268a9c4faefb503deec7dc5603a9be2.tar.bz2 ghdl-ad46e4bed268a9c4faefb503deec7dc5603a9be2.zip |
vhdl: differenciate block and line comments.
Diffstat (limited to 'src/vhdl/vhdl-tokens.adb')
-rw-r--r-- | src/vhdl/vhdl-tokens.adb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/vhdl/vhdl-tokens.adb b/src/vhdl/vhdl-tokens.adb index 61c196721..fe20a07bd 100644 --- a/src/vhdl/vhdl-tokens.adb +++ b/src/vhdl/vhdl-tokens.adb @@ -56,8 +56,10 @@ package body Vhdl.Tokens is return "<EOF>"; when Tok_Newline => return "<newline>"; - when Tok_Comment => - return "<comment>"; + when Tok_Line_Comment => + return "<line-comment>"; + when Tok_Block_Comment => + return "<block-comment>"; when Tok_Character => return "<character>"; when Tok_Identifier => |