>>> Alex Ott <alexott@...> seems to think that:
>Hello
>
>I found one problem with senator copy/yank tag
>
>I have function with following declaration:
>
>inline void Class::ParseRecordHeader(const unsigned char* buf, uint8_t& recVer,
> uint16_t& recInstance, uint16_t& recType,
> uint32_t& recLen) {
>...
>}
>
>I copy it with C-c , M-w, and want to insert declaration into header file.
>I do C-c , C-y, but i get following code with references omitted
>
>inline void ParseRecordHeader (const unsigned char* buf,
> uint8_t recVer,uint16_t recInstance,
> uint16_t recType,uint32_t recLen)
>
>
Hi,
That bug is probably in semantic-format-tag-prototype. I haven't
tweaked that in a long time, and I'm pretty sure capturing references
information in the tag was done after. It may be an easy tweak. I
won't be able to get to it till later this weekend.
My long term goal is to convert *some* of the semantic-format-*
functions to SRecode, which was really designed for this purpose,
though I'm not sure it is worth it for all cases since the overhead
can be high.
At a minimum, I'd like to use SRecode for this foreign tag insert
feature. SRecode is set up well for capturing where you are in a
file, and choosing the right template to use when performing an
expansion.
Have fun
Eric
--
Eric Ludlam: eric@...
Siege: http://www.siege-engine.com Emacs: http://cedet.sourceforge.net
|