Merge pull request #18897 from 2beaucoup/omit-parser-stacktrace

Don't print parsing exception stackstraces to the console
This commit is contained in:
Konrad Malawski 2015-11-09 16:52:34 +01:00
commit bdafae9d48

View file

@ -214,7 +214,6 @@ abstract class Parser(initialValueStackSize: Int = 16,
val pos = Position(cursor, input)
scheme.parseError(ParseError(pos, pos, RuleTrace(Nil, RuleTrace.Fail(e.expected)) :: Nil))
case NonFatal(e)
e.printStackTrace()
scheme.failure(e)
} finally {
phase = null