diff options
author | pommicket <pommicket@gmail.com> | 2022-12-05 17:53:55 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2022-12-05 17:53:55 -0500 |
commit | 8242cd817017628db85f04ebf63cd328ec1e8eb3 (patch) | |
tree | bbb8aed2202150d3e5a8a5172f849c15519f0193 | |
parent | 0d39cca457e51bdf7bb7d9942a522e52bbedfa1f (diff) |
switch to // comments for C comment selection
I hope nobody's still using C89
-rw-r--r-- | syntax.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -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: |