remove uncessary sourceName variable

This commit is contained in:
nttdatahenriksorensen 2015-08-14 21:02:55 -07:00
parent 63200907d6
commit 1072ace723
1 changed files with 1 additions and 2 deletions

View File

@ -1109,10 +1109,9 @@ public class TestPerformance extends BaseTest {
protected void compileJavaParser(boolean leftRecursive) throws IOException {
String grammarFileName = leftRecursive ? "JavaLR.g4" : "Java.g4";
String sourceName = leftRecursive ? "JavaLR.g4" : "Java.g4";
String parserName = leftRecursive ? "JavaLRParser" : "JavaParser";
String lexerName = leftRecursive ? "JavaLRLexer" : "JavaLexer";
String body = load(sourceName, null);
String body = load(grammarFileName, null);
List<String> extraOptions = new ArrayList<String>();
extraOptions.add("-Werror");
if (FORCE_ATN) {