codegen for global variables

This commit is contained in:
pommicket 2022-02-12 11:37:40 -05:00
parent 3db0956b19
commit b69bd8be29
5 changed files with 104 additions and 4 deletions

View file

@ -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