- Re-built lexer file
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>
Thu, 4 Jun 2015 10:42:33 +0000 (10:42 +0000)
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>
Thu, 4 Jun 2015 10:42:33 +0000 (10:42 +0000)
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6038 82007160-df01-0410-b94d-b575c5fd34c7

src/config-lexer.c

index 6f81fcb60d008858436ca89aaf42d3bdd997ec65..4e499461ce5283373ef591063b5001a2723bd978 100644 (file)
@@ -2580,6 +2580,8 @@ void ccomment(void)
      {
         while ((c = input()) == '*');
         if (c == '/') break;
+        else if (c == '\n')
+          ++linenum;
      }
     if (c == EOF)
     {