https://issues.dlang.org/show_bug.cgi?id=14591

--- Comment #9 from Iain Buclaw <[email protected]> ---
(In reply to Rainer Schuetze from comment #8)
> > Any other of the TemplateArg prefixes 'S' (TypeStruct), 'H' 
> > (TypeAssocArray) and 'T' (TypeTypedef) should be affected aswell.
> 
> Probably not, as the rule above avoids trouble with symbol aliases, and
> types only contain QualifiedName which only contain function types.

Yeah, I think I would have spotted it otherwise.

I think all I can do on my side is have a boolean function that attempts to
parse TypeFunctionNoReturn and returns true only if a digit immediately follows
(have matched the next QualifiedName in the grammar rule).

It means in the worst case I'm going over the section of the symbol twice, but
at least I don't have a special case for Pascal.  :-(

--

Reply via email to