svoid printParseErrorInTranspiledSource(S src) { print(); try { javaParseCompilationUnit(src); print(snippetID + " parsed OK"); } catch e { S msg = firstLine(innerMessage(e)); print(msg); int line = parseIntOpt(regexpFirstGroupIC("line (\\d+)", msg)); print(); if (line != 0) { L lines = lines(src); for (int i = max(0, line-5); i <= min(l(lines), line+5); i++) print((i == line ? "* " : " ") + "LINE " + i + ": " + lines.get(i-1)); } print(); } }