Improved parser error messages
Pass 0-based indexes to CompilerError