mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 20:11:17 +00:00
Enable local multi-declarations. Fix of builtin argument checking. Migrate to @noinit.
This commit is contained in:
@@ -50,7 +50,7 @@ macro double! decfloat(char[] chars, int $bits, int $emin, int sign)
|
||||
|
||||
assert(len);
|
||||
|
||||
char c = void;
|
||||
char c @noinit;
|
||||
// Skip past first characters
|
||||
while ((c = chars[index]) == '0')
|
||||
{
|
||||
@@ -335,7 +335,7 @@ macro double! hexfloat(char[] chars, int $bits, int $emin, int sign)
|
||||
uint x;
|
||||
long rp;
|
||||
long dc;
|
||||
char c = void;
|
||||
char c @noinit;
|
||||
bool got_rad;
|
||||
bool got_digit;
|
||||
bool got_tail;
|
||||
|
||||
Reference in New Issue
Block a user