Implement $bits(type) to get the size of a type

In the process, I implemented a means to get at
previously elaborated types from the pform type
pointer.
This commit is contained in:
Stephen Williams
2014-01-11 19:19:15 -08:00
parent 8a4d769b3d
commit 6ec31517a9
8 changed files with 63 additions and 33 deletions
+1 -1
View File
@@ -65,7 +65,7 @@ void PFunction::push_statement_front(Statement*stmt)
blk->push_statement_front(stmt);
}
void PFunction::set_return(const data_type_t*t)
void PFunction::set_return(data_type_t*t)
{
return_type_ = t;
}