From: <tec...@us...> - 2011-02-03 21:08:46
|
Revision: 1641 http://colorer.svn.sourceforge.net/colorer/?rev=1641&view=rev Author: techtonik Date: 2011-02-03 21:08:40 +0000 (Thu, 03 Feb 2011) Log Message: ----------- proto.hrc: fix firstline of Python prototype to allow spaces in shebang Modified Paths: -------------- trunk/schemes/hrc/hrc/CHANGELOG trunk/schemes/hrc/hrc/proto.hrc trunk/schemes/hrc/hrc/proto.hrc.far Modified: trunk/schemes/hrc/hrc/CHANGELOG =================================================================== --- trunk/schemes/hrc/hrc/CHANGELOG 2011-02-03 21:03:24 UTC (rev 1640) +++ trunk/schemes/hrc/hrc/CHANGELOG 2011-02-03 21:08:40 UTC (rev 1641) @@ -1,6 +1,7 @@ Fixed: - remove .cgi from Perl extensions, use first line for detection + - fix firstline of Python prototype to allow spaces in shebang 2010-10-25 r1593 (FarColorer 1.0.2.14) Fixed: Modified: trunk/schemes/hrc/hrc/proto.hrc =================================================================== --- trunk/schemes/hrc/hrc/proto.hrc 2011-02-03 21:03:24 UTC (rev 1640) +++ trunk/schemes/hrc/hrc/proto.hrc 2011-02-03 21:08:40 UTC (rev 1641) @@ -139,7 +139,7 @@ <prototype name="python" group="main" description="Python"> <location link="base/python.hrc"/> <filename>/\.(py|pyw|pys)$/i</filename> - <firstline weight='2'>/^#!\S*(python)/</firstline> + <firstline weight='2'>/^\#!\S*.+python/</firstline> </prototype> <prototype name="lua" group="main" description="Lua"> <location link="base/lua.hrc"/> Modified: trunk/schemes/hrc/hrc/proto.hrc.far =================================================================== --- trunk/schemes/hrc/hrc/proto.hrc.far 2011-02-03 21:03:24 UTC (rev 1640) +++ trunk/schemes/hrc/hrc/proto.hrc.far 2011-02-03 21:08:40 UTC (rev 1641) @@ -139,7 +139,7 @@ <prototype name="python" group="main" description="Python"> <location link="base/python.hrc"/> <filename>/\.(py|pyw|pys)$/i</filename> - <firstline weight='2'>/^#!\S*(python)/</firstline> + <firstline weight='2'>/^\#!\S*.+python/</firstline> <parameters> <param name="show-cross" value="both"/> </parameters> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |