anchor.diff:          print >>f, ".SH FUNCTIONS"
           for _, name, fp, doc in finddocs('funct'):
               print >>f, ".TP"
  -            print >>f, "\\fB%s\\fR" % to_hal_man(name),
  +            if name != None and name != "_":
  +                print >>f, "\\fB<newinstname>.%s.funct\\fR"  % name ,
  +            else :
  +                print >>f, "\\fB<newinstname>.funct\\fR" ,
               if fp:
                   print >>f, "(requires a floating-point thread)"
               else:
  
positive.code:     token PARAMDIRECTION: "rw|r"
      token PINDIRECTION: "in|out|io"
      token TYPE: "float|bit|signed|unsigned|u32|s32"
      token NAME: "[a-zA-Z_][a-zA-Z0-9_]*"
      token STARREDNAME: "[*]*[a-zA-Z_][a-zA-Z0-9_]*"
      token HALNAME: "[#a-zA-Z_][-#a-zA-Z0-9_.]*"
  
negative.code:                     os.spawnvp(os.P_WAIT, "man", ["man", outfile])
                  finally:
                      shutil.rmtree(tempdir)
              elif f.endswith(".icomp") and mode == INSTALLDOC:
                  manpath = os.path.join(BASE, "share/man/man9")
                  if not os.path.isdir(manpath):
                      manpath = os.path.join(BASE, "man/man9")
                  outfile = os.path.join(manpath, basename + ".9comp")
                  print "INSTALLDOC", outfile
                  document(f, outfile)
              elif f.endswith(".icomp"):
                  process(f, mode, outfile)
              elif f.endswith(".py") and mode == INSTALL:
                  lines = open(f).readlines()
  