We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
antlr-4.5.1-complete.jar doesn't behave consistently with "/" and "" on Windows.
antlr-4.5.1-complete.jar
Initial folder structure:
| antlr-4.5.1-complete.jar \---src \---main \---antlr example.g4
Case 1. After java -jar antlr-4.5.1-complete.jar -o src\main\generated src\main\antlr\example.g4:
java -jar antlr-4.5.1-complete.jar -o src\main\generated src\main\antlr\example.g4
| antlr-4.5.1-complete.jar \---src \---main +---antlr | example.g4 \---generated \---src \---main \---antlr example.tokens exampleBaseListener.java exampleLexer.java exampleLexer.tokens exampleListener.java exampleParser.java
Case 2. After java -jar antlr-4.5.1-complete.jar -o src/main/generated src/main/antlr/example.g4:
java -jar antlr-4.5.1-complete.jar -o src/main/generated src/main/antlr/example.g4
| antlr-4.5.1-complete.jar \---src \---main +---antlr | example.g4 \---generated example.tokens exampleBaseListener.java exampleLexer.java exampleLexer.tokens exampleListener.java exampleParser.java
According to #683 the Case 1. behavior is correct, however in cross-platform scripts you are quite likely to use the path in Case 2.
Ideally both would behave exactly the same way.
The text was updated successfully, but these errors were encountered:
.tokens
Also this one is likely a duplicate of #638.
Sorry, something went wrong.
121e767
No branches or pull requests
antlr-4.5.1-complete.jar
doesn't behave consistently with "/" and "" on Windows.Initial folder structure:
Case 1. After
java -jar antlr-4.5.1-complete.jar -o src\main\generated src\main\antlr\example.g4
:Case 2. After
java -jar antlr-4.5.1-complete.jar -o src/main/generated src/main/antlr/example.g4
:According to #683 the Case 1. behavior is correct, however in cross-platform scripts you are quite likely to use the path in Case 2.
Ideally both would behave exactly the same way.
The text was updated successfully, but these errors were encountered: