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 670025 - PHP Language Spec Nowdoc Support
PHP Language Spec Nowdoc Support
Status: RESOLVED FIXED
Product: gtksourceview
Classification: Platform
Component: Syntax files
3.3.x
Other All
: Normal enhancement
: ---
Assigned To: GTK Sourceview maintainers
GTK Sourceview maintainers
Depends on:
Blocks:
 
 
Reported: 2012-02-14 00:44 UTC by Christopher Blay
Modified: 2012-02-19 19:54 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to add support for Nowdoc to PHP language spec (1.87 KB, patch)
2012-02-14 00:44 UTC, Christopher Blay
none Details | Review

Description Christopher Blay 2012-02-14 00:44:23 UTC
Created attachment 207506 [details] [review]
Patch to add support for Nowdoc to PHP language spec

I noticed the lack of PHP Nowdoc support in an older version of gtksourceview and that it had not been added to the most recent release either.

Nowdoc is very similar to Heredoc but has single-quotes around the keyword so that it appears as <<<'KEYWORD'. It behaves the same as a single-quoted string rather than a double-quoted string.

I've created a patch that adds Nowdoc support to the PHP language spec and would be very happy if you accepted it. Thanks for your time!
Comment 1 Paolo Borelli 2012-02-19 19:54:25 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.