diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-10-06 21:49:36 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-10-06 21:49:36 -0700 |
commit | eeed3845cd504028779c333665e0b9fad2070357 (patch) | |
tree | 3cc104aef7a43adfe4a143437f18064ad1a804d4 /html/053recipe_header.cc.html | |
parent | 924253f1a5b8cdaa3ab301d752b9bdf855d6a0f9 (diff) | |
download | mu-eeed3845cd504028779c333665e0b9fad2070357.tar.gz |
3456
Diffstat (limited to 'html/053recipe_header.cc.html')
-rw-r--r-- | html/053recipe_header.cc.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/html/053recipe_header.cc.html b/html/053recipe_header.cc.html index 8be8212d..c37df7d7 100644 --- a/html/053recipe_header.cc.html +++ b/html/053recipe_header.cc.html @@ -460,6 +460,7 @@ Transform<span class="Delimiter">.</span>push_back<span class="Delimiter">(</spa add_header_products<span class="Delimiter">(</span>inst<span class="Delimiter">,</span> caller_recipe<span class="Delimiter">);</span> <span class="Delimiter">}</span> <span class="Comment">// fall through reply</span> + <span class="Normal">if</span> <span class="Delimiter">(</span>caller_recipe<span class="Delimiter">.</span>steps<span class="Delimiter">.</span>empty<span class="Delimiter">())</span> <span class="Identifier">return</span><span class="Delimiter">;</span> <span class="Comment">// error will be raised elsewhere if there's a product in the header; just give up</span> <span class="Normal">const</span> instruction& final_instruction = caller_recipe<span class="Delimiter">.</span>steps<span class="Delimiter">.</span>at<span class="Delimiter">(</span>SIZE<span class="Delimiter">(</span>caller_recipe<span class="Delimiter">.</span>steps<span class="Delimiter">)</span>-<span class="Constant">1</span><span class="Delimiter">);</span> <span class="Normal">if</span> <span class="Delimiter">(</span>final_instruction<span class="Delimiter">.</span>name != <span class="Constant">"reply"</span> && final_instruction<span class="Delimiter">.</span>name != <span class="Constant">"return"</span><span class="Delimiter">)</span> <span class="Delimiter">{</span> instruction inst<span class="Delimiter">;</span> |