MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / parse_line

Function parse_line

extern/editline/src/parse.c:78–90  ·  view source on GitHub ↗

parse_line(): * Parse a line and dispatch it */

Source from the content-addressed store, hash-verified

76 * Parse a line and dispatch it
77 */
78protected int
79parse_line(EditLine *el, const Char *line)
80{
81 const Char **argv;
82 int argc;
83 TYPE(Tokenizer) *tok;
84
85 tok = FUN(tok,init)(NULL);
86 FUN(tok,str)(tok, line, &argc, &argv);
87 argc = FUN(el,parse)(el, argc, argv);
88 FUN(tok,end)(tok);
89 return argc;
90}
91
92
93/* el_parse():

Callers 2

ed_commandFunction · 0.85
el_sourceFunction · 0.85

Calls 1

TYPEClass · 0.70

Tested by

no test coverage detected