Maybe new strategy?

This commit is contained in:
2022-07-06 14:59:56 -07:00
parent 78cdeafc8b
commit 82d2484f70
2 changed files with 16 additions and 9 deletions

View File

@@ -313,6 +313,9 @@ int main(int argc, char **argv) {
if(lex->symbol != END) { errno = EILSEQ; goto syntax; }
break;
}
if(lex->symbol == BIBLE_BOOK
|| lex->symbol == BIBLE_CHAPTER_VERSE)
printf("[%.*s]\n", (int)(lex->s1 - lex->s0), lex->s0);
}
continue;
syntax: