Commit adba377e authored by Niels Möller's avatar Niels Möller

*** empty log message ***

Rev: src/read_scan.c:1.2
parent 0db69071
......@@ -43,7 +43,8 @@
(scanner object scanner)))
*/
/* FIXME: Keep track of lines and characters processed, do provide
* decent error messages. */
static int do_read_scan(struct read_handler **h,
struct abstract_read *read)
{
......@@ -72,7 +73,7 @@ static int do_read_scan(struct read_handler **h,
res = SCAN(closure->scanner, buffer[i]);
if (LSH_FAILUREP(res))
return res;
return res | LSH_DIE;
}
return LSH_OK | LSH_GOON;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment