cline.c

changeset 25
802c5382f499
parent 23
778388400f7b
child 26
853a1181884b
--- a/cline.c	Fri Oct 21 15:09:26 2011 +0200
+++ b/cline.c	Thu Dec 01 17:04:30 2011 +0100
@@ -163,6 +163,13 @@
   }
   printf("\n%73d lines\n", lines);
 
+  if (settings->confusing_lnlen) {
+    /* TODO: display this only when the regexp parser is used */
+    printf("\nSome files contain too long lines.\n"
+      "The regexp parser currently supports a maximum line length of 2048."
+      "\nThe result might be wrong.\n");
+  }
+
   if (!settings->verbose) {
     reopen_stdout();
     printf("%d", lines);

mercurial