'long' review
commit1443039416dd02750765efde1af35e31c8d41be3
authorgrischka <grischka>
Sun, 24 Sep 2017 16:57:48 +0000 (24 18:57 +0200)
committergrischka <grischka>
Sun, 24 Sep 2017 16:57:48 +0000 (24 18:57 +0200)
tree4e1eed95126f8948b1af1425c418ff9343d33d5f
parent870271ea071971002fa556e09e1873db316fa1a9
'long' review

add some features for more complete 'long' support

tcc.h:
- use LONG_SIZE=4/8 instead of TCC_LONG_ARE_64_BIT
tccgen.c:
- add ptrdiff_type, update size_type
- support shift and ?: operations
- support long enum types
- display 'long' from type_to_str
- nwchar_t is unsigned short on windows
- unrelated: use memcpy in init_putv for long doubles to avoid
  random bytes in the image (if tcc was compiled by gcc) for
  diff purposes.
tccpp.c:
- make parse_number return correct types
- improve multi-character-constants 'XX' 'abcd'
Changelog:
- update
Changelog
libtcc.c
tcc.h
tccgen.c
tccpp.c
win32/build-tcc.bat