Implemented variable scopes
This commit is contained in:
parent
96078f40d8
commit
1bf288b8fd
13 changed files with 81 additions and 26 deletions
|
@ -12,7 +12,7 @@ import (
|
|||
// state is the data structure we embed in each function to preserve compilation state.
|
||||
type state struct {
|
||||
err error
|
||||
variables map[string]*Variable
|
||||
scopes []Scope
|
||||
functions map[string]*Function
|
||||
registerHistory []uint64
|
||||
finished chan struct{}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue