~mcf/cproc

ref: 0e9f74cb67f2227f888e9a127624f77d83aee270 cproc/eval.c -rw-r--r-- 6.1 KiB
Use a common member for expression op
eval: Check that expression has integer type before checking if it's signed

It could be an integer constant cast to a pointer type.
Keep track of type properties in type
eval: Handle casts in constant expressions

Fixes #23.
Separate unqualified type and qualifiers in struct decl
Separate unqualified type and qualifiers in struct expr
Merge headers into cc.h
Abbreviate tag names
Remove some unused variables
eval: Handle nested offset address constants
Fix backwards constant evaluation of float-int casts
Rename emit.h -> backend.h
Handle compound literals in global initializers
Initial import