version 1.6, 2019/04/12 19:14:50 |
version 1.8, 2019/04/28 17:10:06 |
|
|
|
|
#include "node.h" |
#include "node.h" |
#include "parse.h" |
#include "parse.h" |
|
#include "reorg.h" |
#include "format.h" |
#include "format.h" |
|
|
/* |
/* |
Line 94 main(int argc, char *argv[]) |
|
Line 95 main(int argc, char *argv[]) |
|
|
|
/* Parse. */ |
/* Parse. */ |
|
|
if ((parser = parse_alloc(warn)) == NULL) { |
parser = parse_alloc(warn); |
perror(NULL); |
|
return 6; |
|
} |
|
tree = parse_file(parser, fd, fname); |
tree = parse_file(parser, fd, fname); |
|
ptree_reorg(tree); |
rc = tree->flags & TREE_ERROR ? 3 : tree->flags & TREE_WARN ? 2 : 0; |
rc = tree->flags & TREE_ERROR ? 3 : tree->flags & TREE_WARN ? 2 : 0; |
|
|
/* Format. */ |
/* Format. */ |