*** jscript.c.orig	2006-09-04 16:00:08.000000000 +0900
--- jscript.c	2006-09-04 15:59:16.000000000 +0900
***************
*** 24,29 ****
--- 24,36 ----
  {
  	addTagRegex (language, "^[ \t]*function[ \t]*([A-Za-z0-9_]+)[ \t]*\\(",
  		"\\1", "f,function,functions", NULL);
+ 
+   /* 
+    * property style function Regex
+    * funcname: function() { ...
+    */
+ 	addTagRegex (language, "^[ \t]*(['\"]?)([A-Za-z0-9_.]+)\\1[ \t]*[:=][ \t]*function[ \t]*\\(",
+     "\\2", "f,function,functions", NULL);
  }
  
  /* Create parser definition stucture */

