Revision: 937 http://svn.sourceforge.net/geany/?rev=937&view=rev Author: ntrel Date: 2006-10-27 07:21:48 -0700 (Fri, 27 Oct 2006)
Log Message: ----------- Limit parse depth to 500 chars when parsing C-like function name.
Modified Paths: -------------- trunk/src/utils.c
Modified: trunk/src/utils.c =================================================================== --- trunk/src/utils.c 2006-10-27 11:30:23 UTC (rev 936) +++ trunk/src/utils.c 2006-10-27 14:21:48 UTC (rev 937) @@ -517,7 +517,7 @@ if (tmp == 0) end --;
// go back to the end of function identifier - while (end > 0 && end > first_pos - 1000 && + while (end > 0 && end > first_pos - 500 && (tmp = sci_get_char_at(sci, end)) != '(' && tmp != 0) end--; end--;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.