diff --git a/src/create_man.py b/src/create_man.py index a007758..77d6086 100644 --- a/src/create_man.py +++ b/src/create_man.py @@ -329,30 +329,30 @@ def run(): file.write(line) file.close() - # Create emacs tags - tags = {} - l = list(variables.keys()) - for v in l: - line = variables[v].line - if line.filename[0] not in tags: - tags[line.filename[0]] = [] - tags[line.filename[0]].append( (v,line) ) - l = list(subroutines.keys()) - for v in l: - line = subroutines[v].line - if line.filename not in tags: - tags[line.filename] = [] - tags[line.filename].append( (v,line) ) - - file = open("TAGS","w") - for f in tags: - tags[f].sort() - text = "" - for v, line in tags[f]: - text += "%s\x7f%s\x01%d,0\n"%(line.text.split('!')[0].rstrip(),v,line.i) - file.write("\x0c\n%s,%d\n"%(f, len(text))) - file.write(text) - file.close() +# # Create emacs tags +# tags = {} +# l = list(variables.keys()) +# for v in l: +# line = variables[v].line +# if line.filename[0] not in tags: +# tags[line.filename[0]] = [] +# tags[line.filename[0]].append( (v,line) ) +# l = list(subroutines.keys()) +# for v in l: +# line = subroutines[v].line +# if line.filename not in tags: +# tags[line.filename] = [] +# tags[line.filename].append( (v,line) ) +# +# file = open("TAGS","w") +# for f in tags: +# tags[f].sort() +# text = "" +# for v, line in tags[f]: +# text += "%s\x7f%s\x01%d,0\n"%(line.text.split('!')[0].rstrip(),v,line.i) +# file.write("\x0c\n%s,%d\n"%(f, len(text))) +# file.write(text) +# file.close() sys.exit(0)