Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
relast-preprocessor
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
JastAdd
relast-preprocessor
Compare revisions
2850be7fdfa925b2e299bd8b06a11d3c11d7b49f to 4ab23d179d7850ad38071ca70e7a78ea6db7f62a
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
jastadd/relast-preprocessor
Select target project
No results found
4ab23d179d7850ad38071ca70e7a78ea6db7f62a
Select Git revision
Branches
bugfix/missing-newline-parse-error
develop
jastadd-fix-inc-param-debug
master
Tags
1.0.0-pre-release.alpha
jastadd-2.3.5
6 results
Swap
Target
jastadd/relast-preprocessor
Select target project
No results found
2850be7fdfa925b2e299bd8b06a11d3c11d7b49f
Select Git revision
Branches
bugfix/missing-newline-parse-error
develop
jastadd-fix-inc-param-debug
master
Tags
1.0.0-pre-release.alpha
jastadd-2.3.5
6 results
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (1)
fix output file computation for source2source compiler
· 4ab23d17
René Schöne
authored
3 years ago
- in accordance with recent changes
4ab23d17
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/org/jastadd/relast/compiler/RelastSourceToSourceCompiler.java
+1
-1
1 addition, 1 deletion
...jastadd/relast/compiler/RelastSourceToSourceCompiler.java
with
1 addition
and
1 deletion
src/main/java/org/jastadd/relast/compiler/RelastSourceToSourceCompiler.java
View file @
4ab23d17
...
...
@@ -30,7 +30,7 @@ public class RelastSourceToSourceCompiler extends RelAstProcessor {
for
(
GrammarFile
grammarFile
:
program
.
getGrammarFileList
())
{
printMessage
(
"Writing output file "
+
grammarFile
.
getFileName
());
// TODO decide and document what the file name should be, the full path or a simple name?
writeToFile
(
outputBasePath
.
resolve
(
inputBasePath
.
relativize
(
Paths
.
get
(
grammarFile
.
getFileName
())
))
,
grammarFile
.
generateAbstractGrammar
());
writeToFile
(
outputBasePath
.
resolve
(
grammarFile
.
getFileName
()),
grammarFile
.
generateAbstractGrammar
());
}
return
0
;
}
...
...
This diff is collapsed.
Click to expand it.