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 766078 - C++11 >= support for syntax highlighting
C++11 >= support for syntax highlighting
Status: RESOLVED OBSOLETE
Product: gtksourceview
Classification: Platform
Component: Syntax files
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: GTK Sourceview maintainers
GTK Sourceview maintainers
Depends on:
Blocks:
 
 
Reported: 2016-05-06 19:08 UTC by milleniumbug
Modified: 2021-07-05 11:01 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description milleniumbug 2016-05-06 19:08:24 UTC
Related: https://bugzilla.gnome.org/show_bug.cgi?id=691661

However there is more to C++11, C++14 than new keywords, so not all of issues were resolved: off the top of my head, these features may need additional support from syntax highlighting:

- raw string literal support
- user-defined literals
- C++14's digit separators (`int x = 1000'000'000;`)

This snippet added to `cpp.lang` fixed the immediate issue with raw string literals I had at https://github.com/cppit/jucipp/issues/188, but I have no way of checking whether it didn't break anything else.

        <context id="raw-string" style-ref="raw-string" end-at-line-end="false" class="string" class-disabled="no-spell-check">
          <start>R"</start>
          <end>"</end>
          <include>
            <context ref="printf"/>
          </include>
        </context>
Comment 1 milleniumbug 2016-05-06 19:16:30 UTC
Also from literals, there are unicode string literals (`u8"aaaa"`, `U"aaaa"` and `u"aaaa"`), and binary integral literals (`0b1101111`).
Comment 2 GNOME Infrastructure Team 2021-07-05 11:01:52 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/gtksourceview/-/issues/

Thank you for your understanding and your help.