1 Feb 2003 19:22
RE: [cedet-semantic] Parsing C++ typedefs with templates
Berndl, Klaus <klaus.berndl <at> sdm.de>
2003-02-01 18:22:26 GMT
2003-02-01 18:22:26 GMT
>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, MarkusI 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
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-
RSS Feed