diff --git a/src/scan.re.c b/src/scan.re.c index 340758b..532ed3f 100644 --- a/src/scan.re.c +++ b/src/scan.re.c @@ -184,7 +184,7 @@ static int scan_day(struct scan *const scan, union date32 date, /* ^"[" ... */ * { fail = "bracket unrecognized"; goto catch; } "document: " :=> document - "ed: " :=> edit //change to "rem" + "rem: " :=> remark //change to "rem" * { fail = "document title"; goto catch; } @s0 bralabel @s1 "]" => future { @@ -205,8 +205,8 @@ static int scan_day(struct scan *const scan, union date32 date, continue; } - * { fail = "edit"; goto catch; } - @s0 date "]" => future { + * { fail = "remark"; goto catch; } + @s0 date "]" => future { const union line64 key = { { (uint32_t)line, date } }; size_t *pi; struct edit *ed;