You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "John Interrante (Jira)" <ji...@apache.org> on 2023/01/25 19:03:00 UTC

[jira] [Resolved] (DAFFODIL-2777) Fix generated C code for offset between 2 array slots

     [ https://issues.apache.org/jira/browse/DAFFODIL-2777?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Interrante resolved DAFFODIL-2777.
---------------------------------------
    Resolution: Fixed

Fixed in commit ff837fa0e3684120a33b280cb20ee087f986acd7

> Fix generated C code for offset between 2 array slots
> -----------------------------------------------------
>
>                 Key: DAFFODIL-2777
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2777
>             Project: Daffodil
>          Issue Type: Bug
>          Components: Back End C-Generator
>    Affects Versions: 3.5.0
>            Reporter: John Interrante
>            Assignee: John Interrante
>            Priority: Minor
>             Fix For: 3.5.0
>
>
> 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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)