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

        1. small.h
          0.1 kB
          Andy Shaw
        For Gerrit Dashboard: QTBUG-22720
        # Subject Branch Project Status CR V

        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