commit e1c2573c7a75bc6c9969a9b84590d15b56a95669
parent 07ec7de8eb0762226be3947db7c8eb73d25d55ea
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Sat, 17 Aug 2019 13:28:47 +0200
tweaks: improve a comment, and drop a superfluous one
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/rcfile.c b/src/rcfile.c
@@ -557,7 +557,8 @@ bool is_good_file(char *file)
}
#ifdef ENABLE_COLOR
-/* Read and parse one included syntax file. */
+/* Partially parse the syntaxes in the given file, or (when syntax
+ * is not NULL) fully parse one specific syntax from the file . */
void parse_one_include(char *file, syntaxtype *syntax)
{
char *was_nanorc = nanorc;
@@ -569,7 +570,6 @@ void parse_one_include(char *file, syntaxtype *syntax)
if (!is_good_file(file))
return;
- /* Open the included syntax file. */
rcstream = fopen(file, "rb");
if (rcstream == NULL) {