File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ def main():
6666 if data [:1 ] == "\\ " :
6767 ignore_from_idx (data , ignore_dict )
6868 else :
69- ignore_from_filelist (data , ignore_dict )
69+ ignore_from_modulelist (data , ignore_dict )
7070 if args or (annotate and categorize ):
7171 usage ()
7272 sys .exit (2 )
@@ -135,13 +135,13 @@ def main():
135135 print string .join (modules , "\n " )
136136
137137
138- def ignore_from_filelist (data , ignore_dict ):
138+ def ignore_from_modulelist (data , ignore_dict ):
139139 for name in string .split (data ):
140140 ignore_dict [name ] = name
141141
142142def ignore_from_idx (data , ignore_dict ):
143143 data = string .replace (data , r"\hackscore {}" , "_" )
144- rx = re .compile (r"\indexentry {([^@]*)@" )
144+ rx = re .compile (r"\\ indexentry\s* {([^@]*)@" )
145145 for line in string .split (data , "\n " ):
146146 m = rx .match (line )
147147 if m :
You can’t perform that action at this time.
0 commit comments