Commit 607c0487 authored by Sean DuBois's avatar Sean DuBois

Implement C GLOBAL opcode

parent c57544de
......@@ -527,8 +527,22 @@ func (d *Decoder) build() error {
return errNotImplemented
}
type Class struct {
module,
name string
}
func (d *Decoder) global() error {
return errNotImplemented
module, _, err := d.r.ReadLine()
if err != nil {
return nil
}
name, _, err := d.r.ReadLine()
if err != nil {
return nil
}
d.stack = append(d.stack, &Class{module: string(module), name: string(name)})
return nil
}
func (d *Decoder) loadDict() error {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment