Skip to content

Commit f174386

Browse files
committed
issue #7313 VHDL attribute 'subtype is not supported and breaks parser
Add the `'subtype` construct for variables etc.
1 parent d0d748a commit f174386

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

vhdlparser/vhdlparser.jj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1614,6 +1614,9 @@ QCString name_ext1() : {QCString s,s1,s2;}
16141614
{
16151615

16161616
(
1617+
LOOKAHEAD(<APOSTROPHE_T><SUBTYPE_T>)
1618+
<APOSTROPHE_T><SUBTYPE_T>{s+="'subtype";}
1619+
|
16171620
LOOKAHEAD(<DOT_T> suffix())
16181621
<DOT_T> s1=suffix(){s+=".";s+=s1;}
16191622
|

0 commit comments

Comments
 (0)