commit a084860b9939d877698e1cceb49fe10dd1019f39
parent 847cb69f9d6f1b034d1656334cefecb51b454dc4
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Tue, 13 Dec 2016 17:53:15 +0100
[cc1] Fix initialization order
keywords() reset counterid, and icpp() was defining new types
which had an id that after reseting counterid didn't have
a good value.
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/cc1/main.c b/cc1/main.c
@@ -58,9 +58,8 @@ main(int argc, char *argv[])
int i;
atexit(clean);
- itypes();
- icpp();
ilex();
+ icpp();
/* if run as cpp, only run the preprocessor */
name = (cp = strrchr(*argv, '/')) ? cp + 1 : *argv;