Skip to content

Commit 9fbde32

Browse files
aleksisvnygrenh
authored andcommitted
Added metasyntax support for R
1 parent a91894d commit 9fbde32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tmc-langs-framework/src/main/java/fi/helsinki/cs/tmc/langs/domain/MetaSyntaxGenerator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public static List<MetaSyntax> listSyntaxes(String fileType) {
2020
list.add(new MetaSyntax("\\/\\*+", "\\*+\\/")); /* */
2121
} else if (fileType.matches("xml|http|html")) {
2222
list.add(new MetaSyntax("<!--", "-->"));
23-
} else if (fileType.matches("properties|py")) {
23+
} else if (fileType.matches("properties|py|R")) {
2424
list.add(new MetaSyntax("#", ""));
2525
}
2626
cache.put(fileType, list);

0 commit comments

Comments
 (0)