Changeset 2977

Show
Ignore:
Timestamp:
03/09/10 15:39:47 (6 months ago)
Author:
matthijs
Message:

semicolon issue

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/OpenDNSSEC/signer/tools/v2/adfile.c

    r2971 r2977  
    146146                li++; 
    147147            } 
    148         } else if (c == ';' && lc != '\\') { 
    149             comments = 1; 
     148        } else if (c == ';') { 
     149            if (in_string) { 
     150                line[li] = c; 
     151                li++; 
     152            } else if (lc != '\\') { 
     153                comments = 1; 
     154            } else { 
     155                line[li] = c; 
     156                li++; 
     157            } 
    150158        } else if (c == '\n' && lc != '\\') { 
    151159            comments = 0;