compiler/libec: (#787, #826) Added support for C99 bool and complex numbers
authorJerome St-Louis <jerome@ecere.com>
Tue, 4 Feb 2014 23:13:25 +0000 (06:13 +0700)
committerJerome St-Louis <jerome@ecere.com>
Wed, 5 Feb 2014 21:43:15 +0000 (04:43 +0700)
commitd6b10c363a61ab5232e701d3a68f03f47e44568b
treed928db1723e5bcc4e203ea3d62a24f3a1eaaa90b
parent64c0cbb26bacec34cb12c49a0a3166132f3151c2
compiler/libec: (#787, #826) Added support for C99 bool and complex numbers
- In eC source files, bool remains 32 bit, and _Bool will be matched to bool due to 'bool' being defined to be _Bool in stdbool.h
- In C header files (.h) or within a declaraton block marker with 'default:', bool and _Bool will refer to the 1 byte C99 bool
- Bool has been added to refer to C99 bool (_Bool) within normal eC code
40 files changed:
compiler/bootstrap/ecc/bootstrap/ecc.c
compiler/bootstrap/ecere/bootstrap/Container.c
compiler/bootstrap/ecere/bootstrap/Map.c
compiler/bootstrap/ecere/bootstrap/String.c
compiler/bootstrap/ecere/bootstrap/instance.c
compiler/bootstrap/ecp/bootstrap/ecp.c
compiler/bootstrap/libec/bootstrap/ast.c
compiler/bootstrap/libec/bootstrap/dbpass.c
compiler/bootstrap/libec/bootstrap/ecdefs.c
compiler/bootstrap/libec/bootstrap/expression.c
compiler/bootstrap/libec/bootstrap/firstPass.c
compiler/bootstrap/libec/bootstrap/grammar.c
compiler/bootstrap/libec/bootstrap/lexer.c
compiler/bootstrap/libec/bootstrap/output.c
compiler/bootstrap/libec/bootstrap/pass0.c
compiler/bootstrap/libec/bootstrap/pass1.c
compiler/bootstrap/libec/bootstrap/pass15.c
compiler/bootstrap/libec/bootstrap/pass16.c
compiler/bootstrap/libec/bootstrap/pass2.c
compiler/bootstrap/libec/bootstrap/pass3.c
compiler/bootstrap/libec/bootstrap/type.c
compiler/libec/precompiled/expression.c
compiler/libec/precompiled/grammar.c
compiler/libec/precompiled/type.c
compiler/libec/src/ast.ec
compiler/libec/src/ecdefs.ec
compiler/libec/src/expression.ec
compiler/libec/src/expression.y
compiler/libec/src/grammar.ec
compiler/libec/src/grammar.h
compiler/libec/src/grammar.y
compiler/libec/src/lexer.ec
compiler/libec/src/lexer.l
compiler/libec/src/make-expression.bat
compiler/libec/src/make-type.bat
compiler/libec/src/output.ec
compiler/libec/src/pass15.ec
compiler/libec/src/type.ec
compiler/libec/src/type.y
ecere/src/gfx/bitmaps/GIFFormat.ec