aboutsummaryrefslogtreecommitdiff
path: root/src/parser.hpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2020-11-20 16:01:59 +0000
committergingerBill <bill@gingerbill.org>2020-11-20 16:01:59 +0000
commit6416a6f39cce4c65c80e29bb4ff4b93a3e463947 (patch)
tree2bf6668068ab0516998fb6bde144a3d4a69bac9e /src/parser.hpp
parent87956676f52a56db98e263d1074b490b71141f0b (diff)
Allow string literals for `[N]byte`
Diffstat (limited to 'src/parser.hpp')
-rw-r--r--src/parser.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parser.hpp b/src/parser.hpp
index aa288304e..cd0d59a48 100644
--- a/src/parser.hpp
+++ b/src/parser.hpp
@@ -646,7 +646,7 @@ struct AstCommonStuff {
u16 viral_state_flags;
AstFile * file;
Scope * scope;
- TypeAndValue tav;
+ TypeAndValue tav; // TODO(bill): Make this a pointer to minimize pointer size
};
struct Ast {
@@ -655,7 +655,7 @@ struct Ast {
u16 viral_state_flags;
AstFile * file;
Scope * scope;
- TypeAndValue tav;
+ TypeAndValue tav; // TODO(bill): Make this a pointer to minimize pointer size
// IMPORTANT NOTE(bill): This must be at the end since the AST is allocated to be size of the variant
union {