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

qdoc warning re JavaScript code with literals e.g.: ''

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.0.0 Beta 2
    • 5.0.0
    • Documentation
    • None
    • JavaScript
    • a644eadd197766066f29aacf0f6270ad2fba0541

    Description

      Since qdoc does not have a pure JavaScript parser there is need to write all documentation for JavaScript functions in pure qdoc however qdoc gets confused by empty literal as shown in the example below because it is still treat the code as C/C++ code. This issue is present in earlier versions of qdoc however Qt5's qdoc is being used.

      /*!
        \page somepage.html
        \title some title
      
        Some qdoc code 
      */
      
      
      function foo() {
        var a = '';
      }
      

      Attachments

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

        Activity

          People

            gbk Martin Smith (Qt)
            isdale Keith Isdale (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes