Eric M. Ludlam writes:
> There is an already existing Fortran parser for Exubernt CTags. Does
> that do what you want?
CTags is nice, but pretty basic. I'd really like some smart completions
for my structures. :-)
> I think it makes sense that you
> could take the subroutine with names-only for args, then look at the
> :localvariables, and if there are variables of the same name, copy them
> up as arguments, and remove them from the :localvariables. Of course,
> you'd have to make up some :localvariable attribute and populate it.
> Alternately, you could do something similar to the K&R argument parsing
> in the C++ grammar, but I'm not quite sure that is a match since those
> declarations are not officially in the code block.
I didn't even know that Semantic can parse K&R style. That's pretty
cool. I'll take a look how the grammar and the expand-c-tag function
works. Thanks for the pointer.