14 Commits

Author SHA1 Message Date
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