Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-22720

Parse error when a #define has a $ in the define name

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.1.0
    • 4.7.4
    • Build tools: moc
    • None
    • 7e5d1c1c2fc764d4cacc3e367542e1f42e6b772e

    Description

      When doing something like:

      #define $foobar fails
      

      then moc will fail to parse it. Attached example header file can be used to reproduce the issue.

      Attachments

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

        Activity

          People

            ogoffart Olivier Goffart (Woboq GmbH)
            andysh Andy Shaw
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes