Moved CppTarget.java to the target subfolder where the other targets are.

Corrected .gitignore which excluded target folders too generously.
This commit is contained in:
Mike Lischke 2016-03-06 18:57:28 +01:00
parent fcdff98aa6
commit e6b4ea736d
3 changed files with 6 additions and 4 deletions

6
.gitignore vendored
View File

@ -1,5 +1,3 @@
# Maven build folders
target/
# Ant build folders
build/
@ -58,3 +56,7 @@ bild.log
bild_output.txt
antlr4cpp.suo
antlr4-maven-plugin/target
runtime/Java/target
tool/target
runtime-testsuite/target

View File

@ -245,7 +245,7 @@ public class CodeGenerator {
getTarget().genBaseVisitorHeaderFile(g, headerFileST);
}
}
/*
public void writeHeaderFile() {
String fileName = getHeaderFileName();
if (fileName == null)
@ -257,7 +257,7 @@ public class CodeGenerator {
getTarget().genRecognizerHeaderFile(g, headerFileST, extST.render(lineWidth));
}
}
*/
public void writeVocabFile() {
// write out the vocab interchange file; used by antlr,
// does not change per target