diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-11-28 22:30:10 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-11-28 22:30:10 -0800 |
commit | f76314303a357705179bd3e2bb005b93ac805fd2 (patch) | |
tree | fe5680a69ac81ab871be5b044edbdc5f65ca869e | |
parent | 215365d427c73001d83e8e598d9fc15745203f5c (diff) | |
download | mu-f76314303a357705179bd3e2bb005b93ac805fd2.tar.gz |
2495
-rw-r--r-- | 056recipe_header.cc | 2 | ||||
-rw-r--r-- | 999spaces.cc | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/056recipe_header.cc b/056recipe_header.cc index 78850c43..4c44f1eb 100644 --- a/056recipe_header.cc +++ b/056recipe_header.cc @@ -164,7 +164,7 @@ recipe add2 x:number, x:number -> z:number [ :(before "End recipe Fields") map<string, int> ingredient_index; -:(after "Transform.push_back(insert_fragments)") +:(after "Begin Instruction Modifying Transforms") Transform.push_back(check_and_update_header_reagents); // idempotent :(code) diff --git a/999spaces.cc b/999spaces.cc index 37f4a60f..2731382f 100644 --- a/999spaces.cc +++ b/999spaces.cc @@ -36,13 +36,14 @@ assert(Max_callstack_depth == 9989); //: begin transforms //: begin instruction inserting transforms //: 52 insert fragments -//: ↳ 56.2 update header reagents -//: ↓ ↳ 56.4 fill in reply ingredients //: ↳ 52.2 check fragments //: --- //: end instruction inserting transforms //: //: begin instruction modifying transforms +//: 56.2 update header reagents +//: ↳ 56.4 fill in reply ingredients +//: //: ↱ 48 check types by name //: ↑ ↓ ↱ 56.3 deduce types from header //: ↑ ↓ ↑ ↳ 57 static dispatch @@ -57,6 +58,7 @@ assert(Max_callstack_depth == 9989); //: end instruction modifying transforms //: //: begin checks +//: --- //: 21 check instruction //: ↳ 43 transform 'new' to 'allocate' //: end checks |