MCPcopy Create free account
hub / github.com/IBM/Project_CodeNet / main

Function main

tools/tokenizer/ntokenize.c:438–453  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

436}
437
438int main(int argc, char *argv[])
439{
440 compiled_token_RE = precompile();
441
442 if (argc > 1 && argv[1]) {
443 filename = argv[1];
444 if (!freopen(filename, "r", stdin)) {
445 fprintf(stderr, "(E) unable to open `%s' for reading.\n", filename);
446 return 1;
447 }
448 }
449
450 while (buffer_fill() != EOF)
451 ;
452 return 0;
453}

Callers

nothing calls this directly

Calls 2

buffer_fillFunction · 0.85
precompileFunction · 0.70

Tested by

no test coverage detected