check if things were declared in static lexpad
check if things were declared in static lexpad

As an added bonus, this gives us post-declared subs for free,
since the whole program has already been parsed.

masak/007,masak/007,masak/007