comparison files.c @ 187:8c7e508da6cc

more of previous
author David A. Holland
date Fri, 12 Jun 2015 04:14:59 -0400
parents 9637bf434f8e
children 1d2bad7151f9
comparison
equal deleted inserted replaced
186:9637bf434f8e 187:8c7e508da6cc
226 ateof = true; 226 ateof = true;
227 ptmp = places.current; 227 ptmp = places.current;
228 ptmp.column += bufend - linestart; 228 ptmp.column += bufend - linestart;
229 if (buf[bufend - 1] == '\n') { 229 if (buf[bufend - 1] == '\n') {
230 complain(&ptmp, "Unclosed comment"); 230 complain(&ptmp, "Unclosed comment");
231 complain_fail();
231 } else { 232 } else {
232 complain(&ptmp, 233 complain(&ptmp,
233 "No newline at end of file"); 234 "No newline at end of file");
234 } 235 }
235 if (mode.werror) { 236 if (mode.werror) {