You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Dave Thompson (Jira)" <ji...@apache.org> on 2023/01/31 15:43:00 UTC
[jira] [Closed] (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 ]
Dave Thompson closed DAFFODIL-2777.
-----------------------------------
Verified, via review, change identified in the commit comment were implemented.
Verified the affected daffodil subproject sbt test suite executed successfully.
> 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)