From: NeilBrown Date: Sat, 10 May 2014 10:31:06 +0000 (+1000) Subject: mdcode.mdc: fix error message slightly. X-Git-Tag: workingparser~55 X-Git-Url: https://ocean-lang.org/code/?p=ocean;a=commitdiff_plain;h=e3fed1133b41c00c12972bba4fd49fdfe4e9fc73 mdcode.mdc: fix error message slightly. It is only sections which code which need to be referenced. Signed-off-by: NeilBrown --- diff --git a/csrc/mdcode.mdc b/csrc/mdcode.mdc index afd2b29..50250b8 100644 --- a/csrc/mdcode.mdc +++ b/csrc/mdcode.mdc @@ -900,7 +900,7 @@ we are done. if (strncmp(s->section.txt, "Example:", 8) == 0) continue; if (strncmp(s->section.txt, "File:", 5) != 0) { - fprintf(stderr, "Unreferenced section is not a file name: %.*s\n", + fprintf(stderr, "Code in unreferenced section that is not a file name: %.*s\n", s->section.len, s->section.txt); errs++; continue;