Skip to content

Commit

Permalink
feat: rename float32/64 to f32/64
Browse files Browse the repository at this point in the history
  • Loading branch information
ianprime0509 committed Apr 7, 2024
1 parent f831c46 commit 748371f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions src/Ast.zig
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ pub const Token = struct {
s16,
s32,
s64,
float32,
float64,
f32,
f64,
char,
bool,
string,
Expand Down Expand Up @@ -129,8 +129,8 @@ pub const Token = struct {
.{ "s16", .s16 },
.{ "s32", .s32 },
.{ "s64", .s64 },
.{ "float32", .float32 },
.{ "float64", .float64 },
.{ "f32", .f32 },
.{ "f64", .f64 },
.{ "char", .char },
.{ "bool", .bool },
.{ "string", .string },
Expand Down
4 changes: 2 additions & 2 deletions src/Parser.zig
Original file line number Diff line number Diff line change
Expand Up @@ -739,8 +739,8 @@ fn parseType(p: *Parser) !Node.Index {
.s16,
.s32,
.s64,
.float32,
.float64,
.f32,
.f64,
.char,
.bool,
.string,
Expand Down

0 comments on commit 748371f

Please sign in to comment.