# HG changeset patch # User Matti Hamalainen # Date 1103660104 0 # Node ID 5a18af547f58315d00414d98f4a503800b1e022c # Parent e9ea4ce4c69737a92c50e4124816affdbd2e16ae Fix few cases of multiline entry handling. diff -r e9ea4ce4c697 -r 5a18af547f58 src/xs_stil.c --- a/src/xs_stil.c Tue Dec 21 18:50:00 2004 +0000 +++ b/src/xs_stil.c Tue Dec 21 20:15:04 2004 +0000 @@ -130,6 +130,7 @@ switch (inLine[0]) { case '/': /* Check if we are already parsing entry */ + isMulti = FALSE; if (tmpNode) { XSERR("New entry ('%s') before end of current ('%s')! Possibly malformed STIL-file!\n", @@ -151,6 +152,7 @@ case '(': /* A new sub-entry */ + isMulti = FALSE; linePos++; if (inLine[linePos] == '#') { @@ -177,6 +179,7 @@ case '\n': case '\r': /* End of entry/field */ + isMulti = FALSE; if (tmpNode) { /* Insert to database */