Printed kjv.

This commit is contained in:
Neil 2023-04-28 21:03:12 -07:00
parent dffcf0c22f
commit ece2e199f6
1 changed files with 8 additions and 0 deletions

View File

@ -7,6 +7,7 @@
#include "../src/scan.h"
#include <stdio.h>
#include <assert.h>
#include <inttypes.h>
/* Tree mapping from date-line in the journal to indices in whatever array. */
static void linemap_to_string(const union line64 line, const size_t *const u,
@ -513,6 +514,13 @@ static int scan_day(struct scan *const scan, union date32 date,
value->verse_end = verse_end;
break;
}
date32_to_string(date, &datestr);
fprintf(stderr, "%s: KJV %s %" PRIu32 ":%" PRIu32,
datestr, kjv_book_string[book], chapter, verse);
if(verse_end) fprintf(stderr, "-%u", verse_end);
fprintf(stderr, "\n");
fprintf(stderr, "");
book = Revelation, chapter = 0, verse = 0, verse_end = 0;
continue;
}