diff options
author | albert-github <albert.tests@gmail.com> | 2019-10-18 08:20:27 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2019-10-18 08:20:27 (GMT) |
commit | f17438620e08b245bcf133c422bed433fb46bc13 (patch) | |
tree | b61cf315b6c9532861ee7abb5bc0abd6cac6871e /vhdlparser/vhdlparser.jj | |
parent | d0d748aee7fdd0469479d7feff16f337322a2175 (diff) | |
download | Doxygen-f17438620e08b245bcf133c422bed433fb46bc13.zip Doxygen-f17438620e08b245bcf133c422bed433fb46bc13.tar.gz Doxygen-f17438620e08b245bcf133c422bed433fb46bc13.tar.bz2 |
issue #7313 VHDL attribute 'subtype is not supported and breaks parser
Add the `'subtype` construct for variables etc.
Diffstat (limited to 'vhdlparser/vhdlparser.jj')
-rw-r--r-- | vhdlparser/vhdlparser.jj | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vhdlparser/vhdlparser.jj b/vhdlparser/vhdlparser.jj index 126118c..2f0c466 100644 --- a/vhdlparser/vhdlparser.jj +++ b/vhdlparser/vhdlparser.jj @@ -1614,6 +1614,9 @@ QCString name_ext1() : {QCString s,s1,s2;} { ( + LOOKAHEAD(<APOSTROPHE_T><SUBTYPE_T>) + <APOSTROPHE_T><SUBTYPE_T>{s+="'subtype";} +| LOOKAHEAD(<DOT_T> suffix()) <DOT_T> s1=suffix(){s+=".";s+=s1;} | |