preserve SyntaxError location when available