mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 03:51:18 +00:00
- $defined(#hash) will not check the internal expression, just that #hash exists.
- Added optional macro arguments using `macro foo(int x = ...)` which can be checked using `$defined(x)`. - Supplemental `roundeven` has a normal implementation.
This commit is contained in:
@@ -6218,6 +6218,7 @@ static inline void llvm_emit_macro_block(GenContext *c, BEValue *be_value, Expr
|
||||
{
|
||||
// Skip vararg
|
||||
if (!val) continue;
|
||||
if (val->var.no_init && val->var.defaulted) continue;
|
||||
// In case we have a constant, we never do an emit. The value is already folded.
|
||||
switch (val->var.kind)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user