[PATCH] sparse: Makefile trivialities
[smatch.git] / test-lexing.c
blob0c899573bd0f5f2c4e7c866ea0af918bdfecfa09
1 /*
2 * Example test program that just uses the tokenization and
3 * preprocessing phases, and prints out the results.
5 * Copyright (C) 2003 Transmeta Corp.
6 * 2003 Linus Torvalds
8 * Licensed under the Open Software License version 1.1
9 */
10 #include <stdarg.h>
11 #include <stdlib.h>
12 #include <stdio.h>
13 #include <string.h>
14 #include <ctype.h>
15 #include <unistd.h>
16 #include <fcntl.h>
18 #include "token.h"
19 #include "symbol.h"
21 int main(int argc, char **argv)
23 preprocess_only = 1;
24 sparse(argc, argv);
25 show_identifier_stats();
26 return 0;