Implemented dead code elimination
This commit is contained in:
parent
d86d411959
commit
526b92aa09
7 changed files with 51 additions and 17 deletions
|
@ -27,6 +27,7 @@ func TestErrors(t *testing.T) {
|
|||
{"MissingBlockStart.q", errors.MissingBlockStart},
|
||||
{"MissingGroupEnd.q", errors.MissingGroupEnd},
|
||||
{"MissingGroupStart.q", errors.MissingGroupStart},
|
||||
{"MissingMainFunction.q", errors.MissingMainFunction},
|
||||
{"VariableAlreadyExists.q", &errors.VariableAlreadyExists{Name: "x"}},
|
||||
{"UnknownIdentifier.q", &errors.UnknownIdentifier{Name: "x"}},
|
||||
{"UnknownIdentifier2.q", &errors.UnknownIdentifier{Name: "x"}},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue