[Geany] Patch - Handle PHP Errors Better

Bob Doan bdoan at xxxxx
Sat Nov 18 22:34:57 UTC 2006


Hi,

PHP Errors don't always follow this pattern:

// Parse error: parse error, unexpected T_CASE in brace_bug.php on line
3

Sometimes they are a bit more complicated:
 // Parse error: syntax error, unexpected T_LNUMBER, expecting
T_FUNCTION in bob.php on line 16

The attached patch fixes this.

PS.. Was anyone planning on doing version control integration.  At the
very least it would be handy to get diff's in geany.

Cheers,

- Bob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: geany.php.patch
Type: text/x-patch
Size: 1257 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/users/attachments/20061118/af0d4a11/attachment.bin>


More information about the Users mailing list