Re:Porting the Go compiler from C to Go
by raverbashing on Friday April 25, 2014 @02:30PM
(#7648246)
Yeah, ctags is a good choice
> "^foo" beats that
because it's so hard to use ctags...
So how do you use ctags with grep?
It's not about finding the function name in general, it's about finding where the function is actually declared -- not in the call sites.
>You can also search for something like "\w+\s(.?)\s{"*
Yeah, or use ctags. That's why they said "simpler".
"^foo" beats that.