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

Fixed the SCAN macro.

Rev: src/read_scan.h:1.2
parent ea4394f6
......@@ -45,7 +45,7 @@
#define TOKEN_EOS -2
#define TOKEN_ERROR -3
#define SCAN(s, t) ((s)-(&(s), (t)))
#define SCAN(s, t) ((s)->scan(&(s), (t)))
struct read_handler *make_read_scan(size_t buffer_size, struct scanner *scanner);
......
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