diff options
| author | gingerBill <ginger.bill.22@gmail.com> | 2016-08-03 22:27:24 +0100 |
|---|---|---|
| committer | gingerBill <ginger.bill.22@gmail.com> | 2016-08-03 22:27:36 +0100 |
| commit | 19aea1f19895b035e8abb424987f48df6bc52c53 (patch) | |
| tree | 879cb256f2985d2a6774b96cedad8b6752deb72c /src/checker/type.cpp | |
| parent | 0e92166d442b120b06db57623a93c6ec43e3fccb (diff) | |
Basic call expression and fix to assignment count checking
Diffstat (limited to 'src/checker/type.cpp')
| -rw-r--r-- | src/checker/type.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/checker/type.cpp b/src/checker/type.cpp index e2506b3a2..04eefbcdd 100644 --- a/src/checker/type.cpp +++ b/src/checker/type.cpp @@ -268,6 +268,8 @@ gb_global Type *t_untyped_float = &basic_types[Basic_UntypedFloat]; gb_global Type *t_untyped_pointer = &basic_types[Basic_UntypedPointer]; gb_global Type *t_untyped_string = &basic_types[Basic_UntypedString]; gb_global Type *t_untyped_rune = &basic_types[Basic_UntypedRune]; +gb_global Type *t_byte = &basic_type_aliases[Basic_byte]; +gb_global Type *t_rune = &basic_type_aliases[Basic_rune]; b32 is_type_named(Type *t) { |