Fixed mixed code/decl scoping bug

Decls were getting hoisted, along with their assignments, e.g.
	int i;
	i = 2;
	int j = i;
would become:
	int i;
	int j = i; // uninit
	i = 2;