aboutsummaryrefslogtreecommitdiff
path: root/tccgen.c
diff options
context:
space:
mode:
authorgrischka <grischka>2016-10-09 20:33:14 +0200
committergrischka <grischka>2016-10-09 20:33:14 +0200
commit71b16f4e18b2794b76cc80cb7d0303243656b050 (patch)
treeafee8de56f0213d74b8404f66c4b9fd62a238730 /tccgen.c
parent78c08898aeb88ae3f8e6a775532a49712188875a (diff)
downloadtinycc-71b16f4e18b2794b76cc80cb7d0303243656b050.tar.gz
tinycc-71b16f4e18b2794b76cc80cb7d0303243656b050.tar.bz2
tccpp : "tcc -E -P" : suppress empty lines
Also: - regenerate all tests/pp/*.expect with gcc - test "insert one space" feature - test "0x1E-1" in asm mode case - PARSE_FLAG_SPACES: ignore \f\v\r better - tcc.h: move some things
Diffstat (limited to 'tccgen.c')
-rw-r--r--tccgen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tccgen.c b/tccgen.c
index abeb924..6447eb5 100644
--- a/tccgen.c
+++ b/tccgen.c
@@ -6334,7 +6334,7 @@ static int decl0(int l, int is_for_loop_init)
}
/* special test for old K&R protos without explicit int
type. Only accepted when defining global data */
- if (l == VT_LOCAL || tok < TOK_DEFINE)
+ if (l == VT_LOCAL || tok < TOK_UIDENT)
break;
btype.t = VT_INT;
}