230 |
pos = pos->next; |
pos = pos->next; |
231 |
} |
} |
232 |
} |
} |
233 |
|
diff -up cpu-1.4.3/src/util/parser.c.mod-delete cpu-1.4.3/src/util/parser.c |
234 |
|
--- cpu-1.4.3/src/util/parser.c.mod-delete 2010-11-07 16:05:19.000000000 -0700 |
235 |
|
+++ cpu-1.4.3/src/util/parser.c 2010-11-07 16:13:07.000000000 -0700 |
236 |
|
@@ -290,11 +290,7 @@ |
237 |
|
p->cont = true; |
238 |
|
token = getToken(&cart[i], delim); |
239 |
|
if ( token == NULL ) |
240 |
|
- { |
241 |
|
- printf("%d: Malformed file, cannot continue parsing.\n", |
242 |
|
- __LINE__); |
243 |
|
- return NULL; |
244 |
|
- } |
245 |
|
+ token = strdup (""); |
246 |
|
} |
247 |
|
p->attrval = delWhite(&token); |
248 |
|
pos = parse; |