Changeset 45729a8


Ignore:
Timestamp:
Aug 31, 2021, 1:49:10 AM (5 months ago)
Author:
Jacob Prud'homme <jafprudhomme@…>
Branches:
jacob/cs343-translation, master
Children:
c80ac84
Parents:
ba61cd9
git-author:
Jacob Prud'homme <jafprudhomme@…> (07/27/21 12:40:34)
git-committer:
Jacob Prud'homme <jafprudhomme@…> (08/31/21 01:49:10)
Message:

Just realized this isn't bash-style config!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/parseconfig.cfa

    rba61cd9 r45729a8  
    111111
    112112// Parse configuration from a file formatted in shell style
    113 KVPairs & parse_shell_config_format( const char * config_file, size_t num_entries ) {
     113KVPairs & parse_tabular_config_format( const char * config_file, size_t num_entries ) {
    114114        // * KVPairs kv_pairs;
    115115        KVPairs kv_pairs = { num_entries };
     
    142142// Parse configuration values from intermediate format
    143143void parse_config( const char * config_file, config_entry entries[], size_t num_entries ) {
    144         KVPairs kv_pairs = parse_shell_config_format( config_file, num_entries );
     144        KVPairs kv_pairs = parse_tabular_config_format( config_file, num_entries );
    145145
    146146        int entries_so_far = 0;
Note: See TracChangeset for help on using the changeset viewer.