Update of /cvsroot/fte/fte/config
In directory vz-cvs-3.sog:/tmp/cvs-serv24277
Modified Files:
m_sh.fte
Log Message:
Allow open-brace on same line as function name in shell
Index: m_sh.fte
===================================================================
RCS file: /cvsroot/fte/fte/config/m_sh.fte,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- m_sh.fte 19 Feb 2004 22:44:03 -0000 1.6
+++ m_sh.fte 4 Jul 2011 22:39:06 -0000 1.7
@@ -46,7 +46,7 @@
mode SH: PLAIN { # *sh
FileNameRx = /{\.\cSH$}|{configure.{in}|{ac}}/;
FirstLineRx = /^\#\![ ]*[^ ]*sh>/;
- RoutineRegexp = /^\s*{function\s\s*\S\S*\s*}|{\S\S*\s*\(\)}\s*$/;
+ RoutineRegexp = /^\s*{function\s\s*\S\S*\s*}|{\S\S*\s*\(\)}\s*\{?\s*$/;
HilitOn = 1;
Colorizer = 'SH';
MultiLineHilit = 1;
|