#16869: Consider changing MOCK_DECL and MOCK_IMPL so that ctags still finds 
mocked
functions
--------------------------+------------------------------
 Reporter:  isis          |          Owner:
     Type:  defect        |         Status:  new
 Priority:  Medium        |      Milestone:  Tor: 0.2.???
Component:  Core Tor/Tor  |        Version:
 Severity:  Normal        |     Resolution:
 Keywords:  unittests     |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
--------------------------+------------------------------

Comment (by nickm):

 This is really helpful.  I'd like a patch to add a target to the
 Makefile.am to do this correctly.  Is this the right way to do it?
 {{{
 TAGS:
         etags --regex='{c}/MOCK_IMPL([^,]+,\W*\([a-zA-Z0-9_]+\)\W*,/\1/s'
 src/or/*.[ch] src/common/*.[ch]
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/16869#comment:7>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Reply via email to