fix
tweak
fix and tests
reference related optimization
add Parser->targetEol defaults to Parser::EOL_UNIX