about summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/fileio.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/fileio.c b/lib/fileio.c
index d95e5f8c..43e4c93e 100644
--- a/lib/fileio.c
+++ b/lib/fileio.c
@@ -27,6 +27,12 @@ pm_getc(FILE * const fileP) {
     ch = (char) ich;
 
     if (ch == '#') {
+        /* This is a comment.  Read through the next newline or carriage return
+           and return just that newline or carriage return.
+
+           The effect is that Caller sees the whole comment as just white
+           space.
+        */
         do {
             ich = getc(fileP);
             if (ich == EOF)