MCPcopy Create free account
hub / github.com/F-Stack/f-stack / db_read_token_flags

Function db_read_token_flags

freebsd/ddb/db_lex.c:133–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131}
132
133int
134db_read_token_flags(int flags)
135{
136 int t;
137
138 MPASS((flags & ~(DRT_VALID_FLAGS_MASK)) == 0);
139
140 if (db_look_token) {
141 t = db_look_token;
142 db_look_token = 0;
143 }
144 else
145 t = db_lex(flags);
146 return (t);
147}
148
149db_expr_t db_tok_number;
150char db_tok_string[TOK_STRING_SIZE];

Callers 3

db_read_tokenFunction · 0.85
dn_parse_optarg_ipv4Function · 0.85
debugnet_parse_ddb_cmdFunction · 0.85

Calls 1

db_lexFunction · 0.85

Tested by

no test coverage detected