refclassfixup.py will find uses of the class terms
[dwarf-doc.git] / dwarf5 / tools / printtokens.py
1 # Copyright 2012 DWARF Debugging Information Format Committee
2 # This simply prints the input tokens.
3 # Used to verify basic sanity of the reading code.
4
5 import sys
6 import fileio
7
8 def print_args():
9   cur = 1
10   filelist = []
11   while  len(sys.argv) > cur:
12     v = sys.argv[cur]
13     filelist += [v]
14     cur = int(cur) + 1
15
16   dwf = fileio.readFilelist(filelist)
17   dwf.dwprint()
18
19 if __name__ == '__main__':
20   print_args()
21   
22
23