Changeset a0e142f for libcfa


Ignore:
Timestamp:
Aug 31, 2021, 1:49:10 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:
0cfa768
Parents:
c80ac84
git-author:
Jacob Prud'homme <jafprudhomme@…> (07/27/21 14:17:42)
git-committer:
Jacob Prud'homme <jafprudhomme@…> (08/31/21 01:49:10)
Message:

Ignored more types of whitespace

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/parseconfig.cfa

    rc80ac84 ra0e142f  
    134134                        while () {
    135135                                in | c;
    136                                 if ( c == ' ' ) {
    137                                         while ( c == ' ' ) in | c;
     136                                if ( c == ' ' || c == '\t' ) {
     137                                        while ( c == ' ' || c == '\t' ) in | c;
     138                                        break;
    138139                                } else {
    139140                                        add_char( key_sb, c );
     
    147148                        while () {
    148149                                in | c;
    149                           if ( c == ' ' || c == '\n' ) break;
     150                          if ( c == ' ' || c == '\t' || c == '\n' ) break;
    150151                                add_char( value_sb, c );
    151152                        }
Note: See TracChangeset for help on using the changeset viewer.