Add block format that completely ignores a line of text in the tokenizer

This commit is contained in:
Veronica Berglyd Olsen committed 2024-02-10 15:40:30 +01:00
1 parent 467772c489
commit 9c1bdef9ad
5 files changed
+41 -23

No files matched your search

+4
View File
@@ -467,6 +467,10 @@ class Tokenizer(ABC):
continue
if aLine[0] == "%":
if aLine[1] == "~":
# Completely ignore the paragraph
continue
cStyle, cText, _ = processComment(aLine)
if cStyle == nwComment.SYNOPSIS:
self._tokens.append((