Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DAFFODIL-2777

Fix generated C code for offset between 2 array slots

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.5.0
    • 3.5.0
    • Back End C-Generator
    • None

    Description

      The C code generator interpolates an ElementBase instead of a String into the computation for the offset between 2 array slots, which can result in a namespace prefix being printed as well as the local name, causing the C compiler to issue an error about the semi-colon.

      Attachments

        Activity

          People

            jinterrante John Interrante
            jinterrante John Interrante
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: