summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-12-05 17:53:55 -0500
committerpommicket <pommicket@gmail.com>2022-12-05 17:53:55 -0500
commit8242cd817017628db85f04ebf63cd328ec1e8eb3 (patch)
treebbb8aed2202150d3e5a8a5172f849c15519f0193
parent0d39cca457e51bdf7bb7d9942a522e52bbedfa1f (diff)
switch to // comments for C comment selection
I hope nobody's still using C89
-rw-r--r--syntax.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/syntax.c b/syntax.c
index f84c6c9..b156451 100644
--- a/syntax.c
+++ b/syntax.c
@@ -17,7 +17,6 @@ Language language_from_str(char const *str) {
char const *language_comment_start(Language l) {
switch (l) {
case LANG_C:
- return "/* ";
case LANG_RUST:
case LANG_CPP:
case LANG_JAVASCRIPT:
@@ -43,8 +42,6 @@ char const *language_comment_start(Language l) {
// end of single line comment for language l
char const *language_comment_end(Language l) {
switch (l) {
- case LANG_C:
- return " */";
case LANG_HTML:
return " -->";
default: