diff --git a/Documentation/Scripts/js2doxy.py b/Documentation/Scripts/js2doxy.py index 192e2c07ba..1db56485e3 100644 --- a/Documentation/Scripts/js2doxy.py +++ b/Documentation/Scripts/js2doxy.py @@ -75,7 +75,10 @@ for line in f: if m: if not comment and not other: - print "void dummy_%d ();\n" % count + if fn: + print "void %s ();\n" % fn + else: + print "void dummy_%d ();\n" % count print "%s" % line