From afed64f1a0eab0b2d742088186d7bc340a2c895b Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Tue, 26 Jun 2018 12:08:19 +0530 Subject: return block type in define and set --- js/Misc/c_block.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'js/Misc/c_block.js') diff --git a/js/Misc/c_block.js b/js/Misc/c_block.js index 2748ac98..77e2cb6d 100644 --- a/js/Misc/c_block.js +++ b/js/Misc/c_block.js @@ -27,6 +27,7 @@ function c_block() { label = list([[sci2exp(in1)],[sci2exp(out)],[strcat(sci2exp(rpar))],[funam]],list([])); gr_i = []; this.x = standard_define([3,2],model,label,gr_i); + return new BasicBlock(this.x); } c_block.prototype.details = function c_block() { return this.x; @@ -71,5 +72,6 @@ function c_block() { break; } } + return new BasicBlock(this.x); } } -- cgit