Changeset 602e8d5


Ignore:
Timestamp:
Aug 31, 2021, 1:49:09 AM (5 months ago)
Author:
Jacob Prud'homme <jafprudhomme@…>
Branches:
jacob/cs343-translation, master
Children:
33800ac
Parents:
b1eeb3a
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

    rb1eeb3a 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.