2010/12/16 Krzysztof Żelechowski <[email protected]>:
> Dnia wtorek, 14 grudnia 2010 o 13:39:46 Lex Trotman napisał(a):
>> On 14 December 2010 22:03, Etienne MELEARD <[email protected]> wrote:
>> > Yeah, declarations can be like this to describe optionnal arguments and
>> > their default values :
>> >
>> >    function foo($arg1, $arg2 = array('random', 'stuff'), $arg3 = 'bar') {
>> >        // ...
>> >    }
>> >
>> > Hope im clear enough ...
>>
>> Thanks, clearly nested brackets and multiline declarations are beyond
>> the regex system.  It needs someone with C and PHP capability to
>> create a proper parser similar to the one used for C.
>>
>
> Rather, to use the PHP tokeniser -- requires PHP itself.

Unfortunately the tagmanager (the software used by Geany is frm
another project) doesn't allow for any sort of "plugin" parsing other
than the regexes so using the PHP tokeniser could be quite complex.

Cheers
Lex

>
> Cheers,
> Chris
>
_______________________________________________
Geany mailing list
[email protected]
http://lists.uvena.de/cgi-bin/mailman/listinfo/geany

Reply via email to