FW: [CEDET-devel] RE: [cedet-semantic] Parsing C++ typedefs with templates
Brought to you by:
zappo
From: Berndl, K. <kla...@sd...> - 2003-02-02 06:35:56
|
>I investigated a little further and I think I found the problem. >This is parsed correctly: foo<arg, urgs> mpfl; >This isn't: foo<arg, const urgs> mpfl; >The problem IMO is with template-type: >template-type : CLASS symbol > [Snip] >This doesn't take into account that arguments for templates are >allowed to be full type specifiers. Yes, but there was some more to do............ I have checked in into v1p4 a new c.bnf, semantic-c.el, NEWS and tests/template.cpp. Now we take into account what you mentioned, Markus ;-) I have tested the new template-parsing a lot and with very complex examples (see tests/template.cpp) and all seems now working fine. I have also checked the parser output with semantic-test-all-.... looks very good. Now template-tokens contain much more useful informations! Markus, please check it out and give me feedback if it works for you too! BTW: A lot of thanks for your very valuable reports! Ciao, Klaus ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ Cedet-devel mailing list Ced...@li... https://lists.sourceforge.net/lists/listinfo/cedet-devel |