From 8af7b7fc0a8dbe3502a7cd43c6a10fdcc6013677 Mon Sep 17 00:00:00 2001 From: peter Date: Fri, 21 Aug 2026 10:55:30 +0000 Subject: Start working on the scanner. For now, all that is implemented is some functionality which imports UTF-8 into the memory managed by aplwc, after checking that the data is in fact valid UTF-8. FossilOrigin-Name: c861e88777d8180cb7b37c11fc7016a900f9d5821a7e3c8e8aab54118d2fca94 --- src/lib/syntax.c | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/lib/syntax.c (limited to 'src/lib/syntax.c') diff --git a/src/lib/syntax.c b/src/lib/syntax.c new file mode 100644 index 0000000..c1a5a85 --- /dev/null +++ b/src/lib/syntax.c @@ -0,0 +1,9 @@ +#include "aplwc_internal.h" + +struct token_list * +scan_line(struct aplwc *aplwc, struct string *text) +{ + aplwc->last_error = APLWC_NOT_YET_IMPLEMENTED; + UNUSED_PARAMETER(text); + return NULL; +} -- cgit v1.2.3