After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 562735 - Highlighting with Perl's defined-or
Highlighting with Perl's defined-or
Status: RESOLVED DUPLICATE of bug 582545
Product: gtksourceview
Classification: Platform
Component: Syntax files
unspecified
Other All
: High critical
: ---
Assigned To: GTK Sourceview maintainers
GTK Sourceview maintainers
: 585138 619550 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-11-30 03:31 UTC by Richard Eames
Modified: 2013-03-01 20:50 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
Support of "//=" (defined-or) operator (134 bytes, patch)
2012-08-28 15:27 UTC, Artem S Vybornov
none Details | Review

Description Richard Eames 2008-11-30 03:31:20 UTC
Gedit's highlighting should support this new perl-510 syntax. The defined or:
$a //= $b;
and 
$c = $a //$b;
Comment 1 Valmi Dufour-Lussier 2009-06-08 10:58:17 UTC
*** Bug 585138 has been marked as a duplicate of this bug. ***
Comment 2 Carnë Draug 2011-05-13 20:49:31 UTC
*** Bug 619550 has been marked as a duplicate of this bug. ***
Comment 3 Artem S Vybornov 2012-08-28 15:24:30 UTC
Still present in trunk.
Comment 4 Artem S Vybornov 2012-08-28 15:26:40 UTC
Fixed by adding "//=" definition into <... id="operator" ...> section.

109c109
<       \|= | &gt;&gt;= | \|\|= | \.= | %= | \^= | \bx= |
---
>       \|= | &gt;&gt;= | \|\|= | //= | \.= | %= | \^= | \bx= |
Comment 5 Artem S Vybornov 2012-08-28 15:27:24 UTC
Created attachment 222644 [details] [review]
Support of "//=" (defined-or) operator
Comment 6 Carnë Draug 2013-03-01 20:40:30 UTC
gedit does highlight it (altough it does so by accident). Both "/" and "= "are recognized as operators so mixtures of them work fine. Your examples should be highlighted corrected.
Comment 7 Carnë Draug 2013-03-01 20:50:09 UTC
Just an aside, what actually fixes this, is the fix I proposed for bug #582545 which is not committed yet. I'm then, marking this as a duplicate of it.

*** This bug has been marked as a duplicate of bug 582545 ***