Implemented basic support for function pointers
This commit is contained in:
parent
47f2bc7947
commit
860795c1ec
8 changed files with 166 additions and 15 deletions
|
@ -29,6 +29,10 @@ func (f *Function) CompileCall(root *expression.Expression) (*Function, error) {
|
|||
if name == "syscall" {
|
||||
return nil, f.CompileSyscall(root)
|
||||
}
|
||||
|
||||
if name == "store" {
|
||||
return nil, f.CompileMemoryStore(root)
|
||||
}
|
||||
} else {
|
||||
pkg = nameNode.Children[0].Token.Text(f.File.Bytes)
|
||||
name = nameNode.Children[1].Token.Text(f.File.Bytes)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue