Set last_op_type in form.jl path parsing

Perhaps there are still parsing glitches, especially in edge cases (empty files, etc.)