]> git.donarmstrong.com Git - lilypond.git/commitdiff
Scripts: bug fix
authorTrevor Daniels <t.daniels@treda.co.uk>
Mon, 30 Aug 2010 22:53:38 +0000 (23:53 +0100)
committerTrevor Daniels <t.daniels@treda.co.uk>
Mon, 30 Aug 2010 22:53:38 +0000 (23:53 +0100)
* ref_check.py

  avoid interpreting @code as @c at start of line

scripts/auxiliar/ref_check.py

index 48bc4d6e10d11176f2e6204e8a19ea65a3ca3649..4b4e51f0bb59e8ee86c3a8908dee8761fe2a58e9 100755 (executable)
@@ -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]