cline.c

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

mercurial