From: Trevor Daniels Date: Mon, 30 Aug 2010 22:53:38 +0000 (+0100) Subject: Scripts: bug fix X-Git-Tag: release/2.13.32-1~14 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=f6f7a119663c922b7ab245547645a06897b7a129;p=lilypond.git Scripts: bug fix * ref_check.py avoid interpreting @code as @c at start of line --- diff --git a/scripts/auxiliar/ref_check.py b/scripts/auxiliar/ref_check.py index 48bc4d6e10..4b4e51f0bb 100755 --- a/scripts/auxiliar/ref_check.py +++ b/scripts/auxiliar/ref_check.py @@ -111,7 +111,7 @@ class File: if words[0] == "@end" and (words[1].find("ignore") >= 0 or words[1].find("macro") >= 0): skip = False - if not skip and words[0].find("@c") < 0: + if not skip and words[0] != "@c": if words[0].find("@defManual") >= 0: # Manual definition found - extract manual name and refManual string manualName = words[1]