[Geany] Symbol list whitespace

Enrico Tröger enrico.troeger at xxxxx
Mon Nov 19 15:42:53 UTC 2007


On Mon, 19 Nov 2007 15:53:26 +0100, Harold Aling <h.aling at home.nl>
wrote:

> <E1Iu3fw-0000Yq-He at zonbu.sait.intra>
> <20071119153451.a762efef.enrico.troeger at uvena.de> Message-ID:
> <32385e7c6851c266114eb06fd7aa61d0 at localhost> X-Sender: h.aling at home.nl
> User-Agent: RoundCube Webmail/0.1-svn
> Content-Type: text/plain; charset="UTF-8"
> Content-Transfer-Encoding: 8bit
> 
> 
> On Mon, 19 Nov 2007 15:34:51 +0100, Enrico Tröger
> <enrico.troeger at uvena.de> wrote:
> > r2052 is the last version in which the symbol list gets filled
> >> correctly...
> > And it should work again in r2058. It was broken because of the new,
> > better PHP parser but it should be working again. Sorry.
> > 
> > Regards,
> > Enrico
> > 
> 
> It's working again!
> 
> I'll have a look at the new features. What I've seen already is that
> geany now picks up variables set by the function definition.
> 
> function my_function($var1 = null, $var2, $var3 = null) {
>   //function
> }
> 
> Geany recognizes $var1, but not $var2 and $var3. 'By design', 'bug'
> or 'not implemented yet' ?
In doubt, I would say "by design" ;-). No, it's just the parser from
the CTags project.
On my system, the parser detects $var3 instead of $var1.
And when using plain ctags on this code, it also detects only $var3.
So, whether you have a look at tagmanager/php.c in the Geany source
directory and improve the regular expressions(starting at line 73) or
you file a bug at CTags. I won't work on this.

Regards,
Enrico

-- 
Get my GPG key from http://www.uvena.de/pub.key
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/users/attachments/20071119/87ee6aad/attachment.pgp>


More information about the Users mailing list