Mercurial > ~dholland > hg > tradcpp > index.cgi
diff files.c @ 160:d6e6b3940780
Fully implement #line.
author | Joerg Sonnenberger <joerg@bec.de> |
---|---|
date | Fri, 27 Feb 2015 02:06:49 +0100 |
parents | ed45f2d8d3bc |
children | f14f5352956c |
line wrap: on
line diff
--- a/files.c Fri Feb 27 00:41:46 2015 +0100 +++ b/files.c Fri Feb 27 02:06:49 2015 +0100 @@ -275,7 +275,7 @@ /* if the line isn't empty, process it */ if (lineend > linestart) { - directive_gotline(&linestartplace, + directive_gotline(&linestartplace, &nextlinestartplace, buf+linestart, lineend-linestart); }