24 * THE SOFTWARE.
25 */
26 #include <stdarg.h>
27 #include <stdlib.h>
28 #include <stdio.h>
29 #include <string.h>
30 #include <ctype.h>
31 #include <unistd.h>
32 #include <fcntl.h>
33
34 #include "token.h"
35 #include "symbol.h"
36
37 int main(int argc, char **argv)
38 {
39 struct string_list *filelist = NULL;
40 char *file;
41
42 preprocess_only = 1;
43 sparse_initialize(argc, argv, &filelist);
44 FOR_EACH_PTR_NOTAG(filelist, file) {
45 sparse(file);
46 } END_FOR_EACH_PTR_NOTAG(file);
47 show_identifier_stats();
48 return 0;
49 }
|
24 * THE SOFTWARE.
25 */
26 #include <stdarg.h>
27 #include <stdlib.h>
28 #include <stdio.h>
29 #include <string.h>
30 #include <ctype.h>
31 #include <unistd.h>
32 #include <fcntl.h>
33
34 #include "token.h"
35 #include "symbol.h"
36
37 int main(int argc, char **argv)
38 {
39 struct string_list *filelist = NULL;
40 char *file;
41
42 preprocess_only = 1;
43 sparse_initialize(argc, argv, &filelist);
44 FOR_EACH_PTR(filelist, file) {
45 sparse(file);
46 } END_FOR_EACH_PTR(file);
47 show_identifier_stats();
48 return 0;
49 }
|