Fix parsing issue

- Fixed issue where parsing failed to correctly handle lines containing
  only whitespace.