diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-05-16 13:17:36 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-05-16 13:17:36 -0700 |
commit | b142a7620246d57b461e5863b9d1092a917a2fc3 (patch) | |
tree | 20f32bb5b9061073bd1a8d265a4b50731e5e009b /047jump_label.cc | |
parent | 03da1e329d86cf9ce23338112aee124905825fe1 (diff) | |
download | mu-b142a7620246d57b461e5863b9d1092a917a2fc3.tar.gz |
1383 - warn on unknown type
This bit me in the last commit for the first time. Layer 010vm.cc is starting to look weird. It has references to stuff that gets implemented much later, like containers and exclusive containers. Its helpers are getting an increasing amount of logic. And it has no tests. I'm still inclined to think it's useful to have major data structures in one place, even if they aren't used for a bit. But those helpers should perhaps move out somehow or get some tests in the same layer.
Diffstat (limited to '047jump_label.cc')
-rw-r--r-- | 047jump_label.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/047jump_label.cc b/047jump_label.cc index dd65c432..3158233b 100644 --- a/047jump_label.cc +++ b/047jump_label.cc @@ -10,6 +10,9 @@ recipe main [ ] -mem: storing 0 in location 1 +:(before "End Mu Types Initialization") +Type_number["label"] = 0; + :(after "int main") Transform.push_back(transform_labels); |