From b142a7620246d57b461e5863b9d1092a917a2fc3 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sat, 16 May 2015 13:17:36 -0700 Subject: 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. --- 047jump_label.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to '047jump_label.cc') 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); -- cgit 1.4.1-2-gfad0