Changeset 602e8d5 for libcfa


Ignore:
Timestamp:
Aug 31, 2021, 1:49:09 AM (3 years ago)
Author:
Jacob Prud'homme <jafprudhomme@…>
Branches:
ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, pthread-emulation, qualifiedEnum
Children:
33800ac8
Parents:
b1eeb3aa
git-author:
Jacob Prud'homme <jafprudhomme@…> (07/13/21 13:11:10)
git-committer:
Jacob Prud'homme <jafprudhomme@…> (08/31/21 01:49:09)
Message:

Fixed error setting size of list of KVPs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/parseconfig.cfa

    rb1eeb3aa r602e8d5  
    1111}
    1212void ?{}( VLA & vla, int size, char fill = ['\0', '\0'] ) { // initialization
    13         vla.[ size, max_size, data ] = [ size, max_size, alloc( size, fill ) ];
     13        vla.[ size, max_size, data ] = [ 0, max_size, alloc( size, fill ) ];
    1414}
    1515void ?{}( VLA & vla, VLA val ) with( val ) { // copy, deep
Note: See TracChangeset for help on using the changeset viewer.