forked from jasder/antlr
v4: remove stale code (and fix broken build)
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9539]
This commit is contained in:
parent
af8e1edb32
commit
cb5d55512a
|
@ -271,16 +271,6 @@ public abstract class BaseTest {
|
||||||
* Had rules called r and modulo. Wouldn't compile til I changed to 'a'.
|
* Had rules called r and modulo. Wouldn't compile til I changed to 'a'.
|
||||||
*/
|
*/
|
||||||
protected boolean compile(String... fileNames) {
|
protected boolean compile(String... fileNames) {
|
||||||
String classpathOption = "-classpath";
|
|
||||||
|
|
||||||
String[] args = new String[] {
|
|
||||||
"javac", "-d", tmpdir,
|
|
||||||
classpathOption, tmpdir+pathSep+CLASSPATH,
|
|
||||||
tmpdir+"/"+fileName
|
|
||||||
};
|
|
||||||
String cmdLine = "javac" +" -d "+tmpdir+" "+classpathOption+" "+tmpdir+pathSep+CLASSPATH+" "+fileName;
|
|
||||||
//System.out.println("compile: "+cmdLine);
|
|
||||||
|
|
||||||
List<File> files = new ArrayList<File>();
|
List<File> files = new ArrayList<File>();
|
||||||
for (String fileName : fileNames) {
|
for (String fileName : fileNames) {
|
||||||
File f = new File(tmpdir, fileName);
|
File f = new File(tmpdir, fileName);
|
||||||
|
|
Loading…
Reference in New Issue