X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/212380e3f42f585dc1ea927402252eb943f91f7b..420b2c9a104d9aa7c232345614b8103292600678:/src/ircd_lexer.l diff --git a/src/ircd_lexer.l b/src/ircd_lexer.l index bec3bc7..4cd7e79 100644 --- a/src/ircd_lexer.l +++ b/src/ircd_lexer.l @@ -15,7 +15,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * USA * - * $Id: ircd_lexer.l 6 2005-09-10 01:02:21Z nenolod $ + * $Id: ircd_lexer.l 3540 2007-07-30 17:26:00Z jilles $ */ %option case-insensitive @@ -177,6 +177,7 @@ void ccomment() while ((c = input()) == '*'); if (c == '/') break; + if (c == '\n') ++lineno; } if (c == EOF) {