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

*** empty log message ***

Rev: src/read_scan.c:1.2
parent 0db69071
...@@ -43,7 +43,8 @@ ...@@ -43,7 +43,8 @@
(scanner object scanner))) (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, static int do_read_scan(struct read_handler **h,
struct abstract_read *read) struct abstract_read *read)
{ {
...@@ -72,7 +73,7 @@ static int do_read_scan(struct read_handler **h, ...@@ -72,7 +73,7 @@ static int do_read_scan(struct read_handler **h,
res = SCAN(closure->scanner, buffer[i]); res = SCAN(closure->scanner, buffer[i]);
if (LSH_FAILUREP(res)) if (LSH_FAILUREP(res))
return res; return res | LSH_DIE;
} }
return LSH_OK | LSH_GOON; 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