imageworks/OpenShadingLanguage — pull request #135 by lgritz (2012-05-03 17:06:41+00:00)
Title: Review: OSLCompilerImpl::retrive_source more gracefully handle EOF

OSLCompilerImpl::retrive_source more gracefully handle cases where the source file ends before we hit the line number we were looking for.

This is a long-lost patch suggested by an email from Brent Van Lommel, so I'm crediting him with it.