9 * Parse a data base entry. Entries may span multiple
10 * lines. An entry starts on a left margin. All subsequent
11 * lines must be indented by white space. An entry consists
12 * of tuples of the forms:
14 * attribute-name=value
15 * attribute-name="value with white space"
17 * The parsing returns a 2-dimensional structure. The first
18 * dimension joins all tuples. All tuples on the same line
19 * form a ring along the second dimension.
23 * parse the next entry in the file
30 Ndbtuple *first, *last;
35 if((line = Brdline(&db->b, '\n')) == 0)
37 len = Blinelen(&db->b);
38 if(line[len-1] != '\n')
40 if(first && !ISWHITE(*line) && *line != '#'){
41 Bseek(&db->b, -len, 1);
44 t = _ndbparseline(line);
47 setmalloctag(t, getcallerpc(&db));
56 ndbsetmalloctag(first, getcallerpc(&db));