codegen for global variables
This commit is contained in:
parent
3db0956b19
commit
b69bd8be29
5 changed files with 104 additions and 4 deletions
|
@ -24,6 +24,13 @@ function token_is_type
|
|||
if b != 0 goto return_1
|
||||
goto return_0
|
||||
|
||||
function type_is_array
|
||||
argument type
|
||||
local p
|
||||
p = types + type
|
||||
if *1p == TYPE_ARRAY goto return_1
|
||||
return 0
|
||||
|
||||
function functype_return_type
|
||||
argument ftype
|
||||
local type
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue