Lines Matching refs:tt
43 toplevel = tt = lexer.get_token()
44 if not tt:
46 elif tt[0] == '#':
49 pos = len(tt) + 1
53 elif tt == 'machine':
55 elif tt == 'default':
57 elif tt == 'macdef': # Just skip to end of macdefs
70 "bad toplevel token %r" % tt, file, lexer.lineno)
77 tt = lexer.get_token()
78 if (tt.startswith('#') or
79 tt in {'', 'machine', 'default', 'macdef'}):
82 lexer.push_token(tt)
87 % (toplevel, entryname, repr(tt)),
89 elif tt == 'login' or tt == 'user':
91 elif tt == 'account':
93 elif tt == 'password':
116 raise NetrcParseError("bad follower token %r" % tt,