Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-22078

Binary literal are not correctly highlighted when using tick marks

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • Qt Creator 4.8.2
    • C/C++/Obj-C++ Support
    • None
    • Linux/X11

      When using the following literal in an enumeration class:

      enum class XXX : quint16
      {
         YYY  = 0b0000'0001
      };

      the Qt Creator editor highlighter is confused, showing a mix of blue (left the tick mark) and green (right of the tick mark). It seems it doesn't know about tick marks in binary literals.

      Please fix.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            kosjar Nikolai Kosjar
            silicomancer Bernhard Lindner
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes