Skip to content

Commit

Permalink
Return a fileconfig for CCpp
Browse files Browse the repository at this point in the history
  • Loading branch information
lhstrh committed Jan 9, 2023
1 parent 71a31ea commit b8e47a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions org.lflang/src/org/lflang/generator/LFGenerator.java
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ public static FileConfig createFileConfig(Resource resource, Path srcGenBasePath
return new FedFileConfig(resource, srcGenBasePath, useHierarchicalBin);
}
switch (target) {
case CCPP:
case C: return new CFileConfig(resource, srcGenBasePath, useHierarchicalBin);
case Python: return new PyFileConfig(resource, srcGenBasePath, useHierarchicalBin);
case CPP:
Expand Down

0 comments on commit b8e47a9

Please sign in to comment.