Add parser version enumeration
Merge pull request #715 from chrisleishman/cleanup_after_1_8_removal

Add parser version enumeration