]> git.donarmstrong.com Git - lilypond.git/commitdiff
Nit in xrefs checking script
authorJohn Mandereau <john.mandereau@gmail.com>
Tue, 10 Jun 2008 16:06:26 +0000 (18:06 +0200)
committerJohn Mandereau <john.mandereau@gmail.com>
Tue, 10 Jun 2008 16:06:26 +0000 (18:06 +0200)
Don't warn about external xrefs that should be internal in generated
documentation.

buildscripts/check_texi_refs.py

index c7f31fa5ad2c1cfe39a1e7e44a8816ba2d3bdde3..94bd6ecb642476c58ed188cbbd26e624f3a88977 100755 (executable)
@@ -352,7 +352,7 @@ not followed by punctuation\n" % (file, line, name))
     explicit_type = type
     new_name = name
 
-    if type != 'ref' and type == manual and not commented_out:
+    if type != 'ref' and type == manual and not commented_out and useful_fix:
         bad_ref = True
         stdout.write ("\n%s: %d: `%s': external %s x-ref should be internal\n"
                       % (file, line, name, type))