tccpp: faster next()
commitb5faa45d9065cafc1a18dc91d6c2bd0fa8af9d7c
authorgrischka <grischka>
Wed, 17 Jun 2020 16:08:09 +0000 (17 18:08 +0200)
committergrischka <grischka>
Wed, 17 Jun 2020 16:44:11 +0000 (17 18:44 +0200)
tree70a3e11b483768f7a0a92a7c872f1d75253fc3e1
parent781872517d1c82d3266135671fd0cf13eb8ae628
tccpp: faster next()

- call TOK_GET() as a function only for tokens with values
- get rid of 'next_nomacro_spc()'
- be sligtly more efficient in next()

This made about 4-5%+ speed in my tests.

Also: tcc.h: reorder tokens
tcc.h
tccgen.c
tccpp.c