Java: add newline to version mismatch messages

This commit is contained in:
David Phillips 2020-12-03 15:00:29 -08:00
parent 88a9e963e8
commit 5eedc1e65a
1 changed files with 2 additions and 2 deletions

View File

@ -157,11 +157,11 @@ public class RuntimeMetaData {
!getMajorMinorVersion(runtimeVersion).equals(getMajorMinorVersion(compileTimeVersion));
if ( runtimeConflictsWithGeneratingTool ) {
System.err.printf("ANTLR Tool version %s used for code generation does not match the current runtime version %s",
System.err.printf("ANTLR Tool version %s used for code generation does not match the current runtime version %s%n",
generatingToolVersion, runtimeVersion);
}
if ( runtimeConflictsWithCompileTimeTool ) {
System.err.printf("ANTLR Runtime version %s used for parser compilation does not match the current runtime version %s",
System.err.printf("ANTLR Runtime version %s used for parser compilation does not match the current runtime version %s%n",
compileTimeVersion, runtimeVersion);
}
}