Nick Treleaven
0594950038
Parse PHP functions with multiline argument list, #3037797
2012-01-01 17:03:24 +00:00
Colomban Wendling
d06e9f4575
Remove $Id$ and $Date$ SVN keywords
2011-10-09 22:57:35 +02:00
Nick Treleaven
03d22bec52
Fix CTags bug 2970274 - when using addCallbackRegex the callback
...
receives less than the number of matches. The number is still not
correct (due to POSIX regex compatibility) but at least includes
all non-empty matches now.
http://sourceforge.net/tracker/index.php?func=detail&aid=2970274
&group_id=6556&atid=106556
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5997 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-10-05 12:00:38 +00:00
Nick Treleaven
19fe99b106
Fix parsing keyword-qualified functions strictly, e.g. don't
...
parse 'staticfunction' or 'fatfunction'.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@5986 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-10-03 14:14:33 +00:00
Colomban Wendling
9fa8cd8bf9
Fix a few GCC warnings
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5856 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-06-17 22:52:43 +00:00
Enrico Tröger
ef47b8aa15
Fix memory leaks (reported by an anonymous IRC user).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5535 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-02-06 16:03:27 +00:00
Nick Treleaven
9c94b5b3a4
Parse PHP final functions ( fixes #3111171 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5417 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-18 18:20:12 +00:00
Enrico Tröger
7eacc365f9
Fix wrong parsing of function arguments when those contain nested brackets (as reported by Harold Aling).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4830 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-17 16:12:32 +00:00
Enrico Tröger
5b8d8c676c
Small cleanup.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4829 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-17 16:12:22 +00:00
Enrico Tröger
c000431626
Another attempt to fix the PHP parser regexp for parsing functions.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4828 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-17 16:12:13 +00:00
Enrico Tröger
26ea57b714
Improve PHP parser to parse also the argument lists of PHP functions (patch by Can Koy, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4729 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-07 16:50:20 +00:00
Enrico Tröger
97c43a05d3
Remove duplicate regular expression for parsing classes.
...
Fix and improve parsing of constants (patch by Harold Aling, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4439 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-23 20:42:30 +00:00
Enrico Tröger
5974fe3b63
Merge recent changes from the CTags project to further improve PHP symbol parsing.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4212 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-20 19:06:48 +00:00
Enrico Tröger
09b0b033ff
Improve parsing of PHP functions by requiring a valid modifier or whitespace before the 'function' keyword to ignore some false positives like function tags inside comments (patch by Harold Aling, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4124 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-25 21:23:14 +00:00
Enrico Tröger
b7bfb2743a
Replace all C++-style comments with usual C-like multi-line comments.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2287 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-27 13:17:29 +00:00
Enrico Tröger
92a7cff5e6
Add missing symbol types: Interface and Constants for PHP.
...
Disable use of non-ASCII characters for PHP parser, it caused problems when using with locales other than "C".
Add missing line break characters in error messages in lregex.c.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2055 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-18 17:17:59 +00:00
Enrico Tröger
47c1c7e0cc
Fix two more compiler warnings.
...
Use php.c and lregex.c from CTags SVN (closes #1795810 ).
Add regex.c and regex.h (GNU regex) for regex support on Windows.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2053 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-17 19:27:50 +00:00
Enrico Tröger
64cfc2b948
Fix parsing classes with modifiers like 'final'.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1781 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-09 22:29:31 +00:00
Enrico Tröger
287711caf4
Use CTags SVN version of PHP parser.
...
Use only supported symbol types in the symbol view for PHP.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1684 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-09 15:11:18 +00:00
Enrico Tröger
8cb2cf0997
Initial import
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4 ea778897-0a13-0410-b9d1-a72fbfd435f5
2005-11-22 12:26:26 +00:00