aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/vhdl-tokens.adb
diff options
context:
space:
mode:
authorBrian Padalino <bpadalino@gmail.com>2021-09-23 01:44:59 -0400
committertgingold <tgingold@users.noreply.github.com>2021-09-24 07:29:46 +0200
commitdfd094273e636fb275a7416a1c470d0b136e9362 (patch)
treec3381b2f291dd0edb6da5f2b77c049b265257241 /src/vhdl/vhdl-tokens.adb
parenta076bcb8121ea03b626447f5dace625415697600 (diff)
downloadghdl-dfd094273e636fb275a7416a1c470d0b136e9362.tar.gz
ghdl-dfd094273e636fb275a7416a1c470d0b136e9362.tar.bz2
ghdl-dfd094273e636fb275a7416a1c470d0b136e9362.zip
Add parsing of case? statement and simple test.
Also add the Matching flag to the Iir_Kind_Case_Statement.
Diffstat (limited to 'src/vhdl/vhdl-tokens.adb')
-rw-r--r--src/vhdl/vhdl-tokens.adb3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vhdl/vhdl-tokens.adb b/src/vhdl/vhdl-tokens.adb
index 815f0aba2..b8838c1db 100644
--- a/src/vhdl/vhdl-tokens.adb
+++ b/src/vhdl/vhdl-tokens.adb
@@ -116,6 +116,9 @@ package body Vhdl.Tokens is
when Tok_Ampersand =>
return "&";
+ when Tok_Question_Mark =>
+ return "?";
+
when Tok_Condition =>
return "??";