aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bootstrap/parsedecl.c4
-rw-r--r--bootstrap/typechk.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/bootstrap/parsedecl.c b/bootstrap/parsedecl.c
index 90af6f9..bd8edb0 100644
--- a/bootstrap/parsedecl.c
+++ b/bootstrap/parsedecl.c
@@ -20,10 +20,10 @@ static enum Token parse_paramlist(struct Var **list_out, size_t *count_out);
static struct TypeRef *parse_type_usage(void);
static const struct TypeRefNumeric range_uint = {
- 0, 4294967295U,
+ 0, 4294967295U
};
static const struct TypeRefNumeric range_int = {
- 0, 2147483647U,
+ 0, 2147483647U
};
void parse_source_index(FILE *f)
diff --git a/bootstrap/typechk.c b/bootstrap/typechk.c
index 812f86e..99c14d3 100644
--- a/bootstrap/typechk.c
+++ b/bootstrap/typechk.c
@@ -84,13 +84,13 @@ static bool is_intbool_literal(const struct Expr *expr)
SlulInt min, max;
*/
static const struct TypeRefNumeric num_zero = {
- 0, 0,
+ 0, 0
};
static const struct TypeRefNumeric num_one = {
- 1, 1,
+ 1, 1
};
const struct TypeRefNumeric range_bool = {
- 0, 1,
+ 0, 1
};
static void require_type(const struct Expr *expr, enum TypeRefKind kind,