Implemented switch statements
This commit is contained in:
parent
09ec8d8446
commit
52d1de042c
10 changed files with 170 additions and 27 deletions
|
@ -22,9 +22,10 @@ type Function struct {
|
|||
|
||||
// counter stores how often a certain statement appeared so we can generate a unique label from it.
|
||||
type counter struct {
|
||||
assert int
|
||||
branch int
|
||||
data int
|
||||
loop int
|
||||
subBranch int
|
||||
assert int
|
||||
branch int
|
||||
multiBranch int
|
||||
data int
|
||||
loop int
|
||||
subBranch int
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue