func compile(s parsec.Scanner) parsec.ParsecNode { defer func() { if r := recover(); r != nil { log.Printf("%v at %v", r, s.GetCursor()) } }() root, _ := monster.Y(s) return root }
func compile(s parsec.Scanner) parsec.ParsecNode { defer func() { if r := recover(); r != nil { log.Printf("%v at %v\n", r, s.GetCursor()) fmt.Printf("%v\n", getStackTrace(2, debug.Stack())) } }() root, _ := monster.Y(s) return root }