Skip to content
This repository has been archived by the owner on May 22, 2024. It is now read-only.

Commit

Permalink
Merge 4c5782c into 20d7d9c
Browse files Browse the repository at this point in the history
  • Loading branch information
lversaw committed Mar 2, 2018
2 parents 20d7d9c + 4c5782c commit 0ad6313
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion libraries/usfm_tools/verifyUSFM.py
Original file line number Diff line number Diff line change
Expand Up @@ -624,6 +624,8 @@ def isTextCarryingToken(token):

def take(token):
state = State()
if isFootnote(token):
state.addText() # footnote suffices for verse text
if state.needText() and not token.isTEXT() and not isTextCarryingToken(token):
report_error(state.reference + " - Empty verse" + '\n')
if token.isID():
Expand Down Expand Up @@ -733,4 +735,4 @@ def verify_contents_quiet(unicodestring, filename, book_code, lang_code):
# elif os.path.isfile(source):
# verifyFile(source)
# else:
# sys.stderr.write("File not found: " + source + '\n')
# sys.stderr.write("File not found: " + source + '\n')

0 comments on commit 0ad6313

Please sign in to comment.