File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 1010
1111import org .spoofax .interpreter .terms .IStrategoTerm ;
1212import org .strategoxt .HybridInterpreter ;
13- import org .sugarj .cleardep .CompilationUnit ;
13+ import org .sugarj .cleardep .build .Builder ;
14+ import org .sugarj .cleardep .stamp .Stamper ;
1415import org .sugarj .common .ATermCommands ;
1516import org .sugarj .common .FileCommands ;
1617import org .sugarj .common .Log ;
@@ -44,7 +45,8 @@ public Set<Path> compile(
4445 Path outFile ,
4546 String source ,
4647 Path bin ,
47- CompilationUnit mod ,
48+ Builder <?,?> mod ,
49+ Stamper stamper ,
4850 List <Path > path ,
4951 Set <Path > deferredSourceFilesForSourceFile
5052 ) throws IOException , ClassNotFoundException , SourceCodeException {
@@ -57,7 +59,7 @@ public Set<Path> compile(
5759
5860 if (!source .isEmpty ()) {
5961 FileCommands .writeToFile (outFile , source );
60- mod .addGeneratedFile (outFile );
62+ mod .generates (outFile , stamper );
6163 outSourceFiles .add (outFile );
6264 }
6365
You can’t perform that action at this time.
0 commit comments