diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2020-03-17 11:24:02 -0400 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2020-03-17 11:25:58 -0400 |
commit | c438738a753e36664618b1d60362e8216a5facb0 (patch) | |
tree | f12f802cd7086dea2569f8647aa3d66007fc68d7 /types.h | |
parent | 63ea50be35afb6d7b9dbcd20fe3c31de6187858e (diff) |
removed unnecessary t->flags |= TYPE_IS_RESOLVED;
and some other minor corrections
Diffstat (limited to 'types.h')
-rw-r--r-- | types.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,6 +1,6 @@ /* toc's types. Note that although these types are in the public domain, -the code which uses them (i.e. most of the rest of toc) is not. +the code which uses them (i.e. most of the rest of toc) is not necessarily. This is free and unencumbered software released into the public domain. Anyone is free to copy, modify, publish, use, compile, sell, or @@ -163,8 +163,8 @@ typedef union Value { I64 i64; bool boolv; char charv; - float f32; - double f64; + F32 f32; + F64 f64; struct FnExpr *fn; void *arr; void *ptr; @@ -1043,7 +1043,7 @@ typedef struct CGenerator { Allocator *allocr; FILE *outc; IdentID ident_counter, lbl_counter; - int indent_lvl; /* how many levels of indentation? */ + U16 indent_lvl; /* how many levels of indentation? */ bool will_indent; /* will the next thing be indented? */ ParsedFile *file; Block *block; |