CHanged oarser function code generator to only expect err, num_bytes on last statement of code.

Started to code up return switch statement - test 9 fails.