From f17438620e08b245bcf133c422bed433fb46bc13 Mon Sep 17 00:00:00 2001 From: albert-github Date: Fri, 18 Oct 2019 10:20:27 +0200 Subject: issue #7313 VHDL attribute 'subtype is not supported and breaks parser Add the `'subtype` construct for variables etc. --- vhdlparser/vhdlparser.jj | 3 +++ 1 file changed, 3 insertions(+) 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() + {s+="'subtype";} +| LOOKAHEAD( suffix()) s1=suffix(){s+=".";s+=s1;} | -- cgit v0.12