Skip to content

Commit

Permalink
Merge pull request #1057 from ziglang/comptime-int
Browse files Browse the repository at this point in the history
Rename integer literal type and float literal type
  • Loading branch information
andrewrk committed Jun 5, 2018
2 parents e53b683 + a8146ad commit 677eaf2
Show file tree
Hide file tree
Showing 13 changed files with 355 additions and 341 deletions.
32 changes: 16 additions & 16 deletions doc/langref.html.in
Expand Up @@ -4893,10 +4893,10 @@ pub const TypeId = enum {
Pointer,
Array,
Struct,
FloatLiteral,
IntLiteral,
UndefinedLiteral,
NullLiteral,
ComptimeFloat,
ComptimeInt,
Undefined,
Null,
Nullable,
ErrorUnion,
Error,
Expand Down Expand Up @@ -4927,10 +4927,10 @@ pub const TypeInfo = union(TypeId) {
Pointer: Pointer,
Array: Array,
Struct: Struct,
FloatLiteral: void,
IntLiteral: void,
UndefinedLiteral: void,
NullLiteral: void,
ComptimeFloat: void,
ComptimeInt: void,
Undefined: void,
Null: void,
Nullable: Nullable,
ErrorUnion: ErrorUnion,
ErrorSet: ErrorSet,
Expand Down Expand Up @@ -5685,10 +5685,10 @@ pub const TypeId = enum {
Pointer,
Array,
Struct,
FloatLiteral,
IntLiteral,
UndefinedLiteral,
NullLiteral,
ComptimeFloat,
ComptimeInt,
Undefined,
Null,
Nullable,
ErrorUnion,
ErrorSet,
Expand All @@ -5713,10 +5713,10 @@ pub const TypeInfo = union(TypeId) {
Pointer: Pointer,
Array: Array,
Struct: Struct,
FloatLiteral: void,
IntLiteral: void,
UndefinedLiteral: void,
NullLiteral: void,
ComptimeFloat: void,
ComptimeInt: void,
Undefined: void,
Null: void,
Nullable: Nullable,
ErrorUnion: ErrorUnion,
ErrorSet: ErrorSet,
Expand Down
8 changes: 4 additions & 4 deletions src/all_types.hpp
Expand Up @@ -1159,10 +1159,10 @@ enum TypeTableEntryId {
TypeTableEntryIdPointer,
TypeTableEntryIdArray,
TypeTableEntryIdStruct,
TypeTableEntryIdNumLitFloat,
TypeTableEntryIdNumLitInt,
TypeTableEntryIdUndefLit,
TypeTableEntryIdNullLit,
TypeTableEntryIdComptimeFloat,
TypeTableEntryIdComptimeInt,
TypeTableEntryIdUndefined,
TypeTableEntryIdNull,
TypeTableEntryIdMaybe,
TypeTableEntryIdErrorUnion,
TypeTableEntryIdErrorSet,
Expand Down

0 comments on commit 677eaf2

Please sign in to comment.