summaryrefslogtreecommitdiff
path: root/types.h
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2020-03-17 11:24:02 -0400
committerLeo Tenenbaum <pommicket@gmail.com>2020-03-17 11:25:58 -0400
commitc438738a753e36664618b1d60362e8216a5facb0 (patch)
treef12f802cd7086dea2569f8647aa3d66007fc68d7 /types.h
parent63ea50be35afb6d7b9dbcd20fe3c31de6187858e (diff)
removed unnecessary t->flags |= TYPE_IS_RESOLVED;
and some other minor corrections
Diffstat (limited to 'types.h')
-rw-r--r--types.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/types.h b/types.h
index b02a783..fbd3386 100644
--- a/types.h
+++ b/types.h
@@ -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;