parse \set and \unset
a helper function: skip()