the line is needed (to remove closing doublequote)

This commit is contained in:
itojun 2003-07-14 18:11:06 +00:00
parent 232b5bf80e
commit c9df1b829c

View File

@ -2,7 +2,7 @@
/* A lexical scanner generated by flex */
/* Scanner skeleton version:
* $NetBSD: initscan.c,v 1.15 2003/07/14 11:36:48 itojun Exp $
* $NetBSD: initscan.c,v 1.16 2003/07/14 18:11:06 itojun Exp $
*/
#define FLEX_SCANNER
@ -1272,7 +1272,7 @@ char *yytext;
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
/* $NetBSD: initscan.c,v 1.15 2003/07/14 11:36:48 itojun Exp $ */
/* $NetBSD: initscan.c,v 1.16 2003/07/14 18:11:06 itojun Exp $ */
#include "flexdef.h"
#include "parse.h"
@ -2056,6 +2056,7 @@ YY_RULE_SETUP
#line 279 "scan.l"
{
strlcpy(nmstr, yytext + 1, sizeof(nmstr));
nmstr[strlen( nmstr ) - 1] = '\0';
return NAME;
}
YY_BREAK