[svn] Fix wrong line numbers in ircd.conf parser (some comments).
from ratbox 2.2 (androsyn).
This commit is contained in:
parent
d62ae16cb0
commit
4f3f411b34
3 changed files with 13 additions and 2 deletions
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
||||||
|
jilles 2007/07/26 14:21:57 UTC (20070726-3538)
|
||||||
|
Log:
|
||||||
|
Change EmptyString so gcc 4.2 doesn't complain.
|
||||||
|
from ratbox (androsyn), slightly changed
|
||||||
|
|
||||||
|
|
||||||
|
Changes: Modified:
|
||||||
|
+1 -1 trunk/include/irc_string.h (File Modified)
|
||||||
|
|
||||||
|
|
||||||
jilles 2007/07/14 21:50:21 UTC (20070714-3536)
|
jilles 2007/07/14 21:50:21 UTC (20070714-3536)
|
||||||
Log:
|
Log:
|
||||||
In a two-argument whois, RPL_ENDOFWHOIS should show second arg.
|
In a two-argument whois, RPL_ENDOFWHOIS should show second arg.
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
#define SERNO "20070714-3536"
|
#define SERNO "20070726-3538"
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||||
* USA
|
* 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
|
%option case-insensitive
|
||||||
|
@ -177,6 +177,7 @@ void ccomment()
|
||||||
while ((c = input()) == '*');
|
while ((c = input()) == '*');
|
||||||
if (c == '/')
|
if (c == '/')
|
||||||
break;
|
break;
|
||||||
|
if (c == '\n') ++lineno;
|
||||||
}
|
}
|
||||||
if (c == EOF)
|
if (c == EOF)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue