diff options
author | Craig Earls <enderw88@gmail.com> | 2015-01-24 15:52:07 -0700 |
---|---|---|
committer | Craig Earls <enderw88@gmail.com> | 2015-01-24 15:52:07 -0700 |
commit | 204568d5145c77b3cf3bccd49c9ad6780b4b1fe1 (patch) | |
tree | 65a8d2f5dba1c5e6f16aeec938dbfe6928a9128e /test/CheckTexinfo.py | |
parent | 3b56134a546146718938929edf5e40e3ca1fc87d (diff) | |
parent | d94d164b65258d2867245a63877ca75ec3bd471a (diff) | |
download | fork-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-x | test/CheckTexinfo.py | 3 |
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 |