Author: mkhl
Date: 2006-06-15 14:55:40 +0000 (Thu, 15 Jun 2006)
New Revision: 16259

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16259

Log:

Add tags from javascript source files to ctags/etags.
Add tags for javascript functions defined in C to etags (unsure
how this works for ctags).

Martin

Added:
   branches/SOC/mkhl/,,main.mk-tags-ejs-funcs.patch


Changeset:
Added: branches/SOC/mkhl/,,main.mk-tags-ejs-funcs.patch
===================================================================
--- branches/SOC/mkhl/,,main.mk-tags-ejs-funcs.patch    2006-06-15 14:53:45 UTC 
(rev 16258)
+++ branches/SOC/mkhl/,,main.mk-tags-ejs-funcs.patch    2006-06-15 14:55:40 UTC 
(rev 16259)
@@ -0,0 +1,18 @@
+Index: source/main.mk
+===================================================================
+--- source/main.mk     (revision 16189)
++++ source/main.mk     (working copy)
+@@ -174,10 +174,11 @@
+       ./config.status
+ 
+ etags:
+-      etags `find $(srcdir) -name "*.[ch]"`
++      etags 
--regex='/[[:space:]]*\(ejsDefineCFunction\|ejsDefineStringCFunction\)(-1, 
*"\([^"]+\)"/\2/'      \
++              `find $(srcdir) -name "*.[ch]" -o -name "*.js"`
+ 
+ ctags:
+-      ctags `find $(srcdir) -name "*.[ch]"`
++      ctags `find $(srcdir) -name "*.[ch]" -o -name "*.js"`
+ 
+ pidl/Makefile: pidl/Makefile.PL
+       cd pidl && $(PERL) Makefile.PL 

Reply via email to