Tuesday, June 28, 2011

Re: c structure relationship

On Jun 24, 4:09 pm, jack sparrow <dafs...@gmail.com> wrote:
> hi,
>
> is there any tool that shows the relationship of c-structures in
> ascii text form.
>
> struct abc {
> struct one a;
> struct two b;
> strcut three c;
>
> };
>
> struct one {
> int i;
> struct five;
>
> }
>
> struct two {
> int j;
>
> }
>
> struct three {
> int x;
>
> }
>
> i am expecting the following kind of o/p
>
> abc
>  - one
>    - five
>  - two
>    - int
>  - three
>    - int

anyone know of any such tools.
please let me know.

thanks

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment