Pull common parser code out of switch.
Pull common parser code out of switch.

No point in doing exactly the same thing in a bunch of places, just set
a pointer to the function in the switch and then do the work in one
place.

hartzell/roster