summaryrefslogtreecommitdiff
path: root/test/CheckTexinfo.py
diff options
context:
space:
mode:
authorCraig Earls <enderw88@gmail.com>2015-01-24 15:52:07 -0700
committerCraig Earls <enderw88@gmail.com>2015-01-24 15:52:07 -0700
commit204568d5145c77b3cf3bccd49c9ad6780b4b1fe1 (patch)
tree65a8d2f5dba1c5e6f16aeec938dbfe6928a9128e /test/CheckTexinfo.py
parent3b56134a546146718938929edf5e40e3ca1fc87d (diff)
parentd94d164b65258d2867245a63877ca75ec3bd471a (diff)
downloadfork-ledger-204568d5145c77b3cf3bccd49c9ad6780b4b1fe1.tar.gz
fork-ledger-204568d5145c77b3cf3bccd49c9ad6780b4b1fe1.tar.bz2
fork-ledger-204568d5145c77b3cf3bccd49c9ad6780b4b1fe1.zip
Merge commit 'd94d164b65258d2867245a63877ca75ec3bd471a' into next
Diffstat (limited to 'test/CheckTexinfo.py')
-rwxr-xr-xtest/CheckTexinfo.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/CheckTexinfo.py b/test/CheckTexinfo.py
index eedd975d..34d0e153 100755
--- a/test/CheckTexinfo.py
+++ b/test/CheckTexinfo.py
@@ -30,6 +30,7 @@ class CheckTexinfo (CheckOptions):
item_regex = re.compile('^@item --([-A-Za-z]+)')
itemx_regex = re.compile('^@itemx')
fix_regex = re.compile('FIX')
+ comment_regex = re.compile('^\s*@c')
for line in open(filename):
line = line.strip()
if state == state_normal:
@@ -50,7 +51,7 @@ class CheckTexinfo (CheckOptions):
opt_doc = str()
elif itemx_regex.match(line):
continue
- else:
+ elif not comment_regex.match(line):
opt_doc += line
return options