fix js script comment line parsing

git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@1026 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
calvin 2003-08-29 11:58:59 +00:00
parent 54d0f8ade7
commit 3fef6f6023
2 changed files with 6 additions and 7 deletions

View file

@ -3624,7 +3624,7 @@ static yyconst flex_int32_t yy_nxt[][256] =
{
53, 174, 174, 174, 174, 174, 174, 174, 174, 174,
174, 174, 174, 174, 174, 174, 174, 174, 174, 174,
-102, 174, 174, 174, 174, 174, 174, 174, 174, 174,
174, 174, 174, 174, 174, 174, 174, 174, 174, 174,
174, 174, 174, 174, 174, 174, 174, 174, 174, 174,
174, 174, 174, 174, 174, 175, 174, 174, 174, 174,
@ -5899,7 +5899,7 @@ static yyconst flex_int32_t yy_nxt[][256] =
{
53, 174, 174, 174, 174, 174, 174, 174, 174, 174,
174, 174, 174, 174, 174, 174, 174, 174, 174, 174,
-174, 174, 174, 174, 174, 174, 174, 174, 174, 174,
174, 174, 174, 174, 174, 174, 174, 174, 174, 174,
174, 174, 174, 174, 174, 174, 174, 174, 174, 174,
174, 174, 174, 174, 174, -174, 174, 174, 174, 174,
@ -5931,7 +5931,7 @@ static yyconst flex_int32_t yy_nxt[][256] =
{
53, 215, 215, 215, 215, 215, 215, 215, 215, 215,
215, 215, 215, 215, 215, 215, 215, 215, 215, 215,
-175, 215, 215, 215, 215, 215, 215, 215, 215, 215,
215, 215, 215, 215, 215, 215, 215, 215, 215, 215,
215, 215, 215, 215, 215, 215, 215, 215, 215, 215,
215, 215, 215, 215, 215, 215, 215, 215, 215, 215,
@ -7195,7 +7195,7 @@ static yyconst flex_int32_t yy_nxt[][256] =
{
53, 215, 215, 215, 215, 215, 215, 215, 215, 215,
215, 215, 215, 215, 215, 215, 215, 215, 215, 215,
-215, 215, 215, 215, 215, 215, 215, 215, 215, 215,
215, 215, 215, 215, 215, 215, 215, 215, 215, 215,
215, 215, 215, 215, 215, 215, 215, 215, 215, 215,
215, 215, 215, 215, 215, 215, 215, 215, 215, 215,
@ -9853,7 +9853,6 @@ YY_RULE_SETUP
}
YY_BREAK
case 56:
/* rule 56 can match eol */
YY_RULE_SETUP
#line 590 "htmllex.l"
{
@ -10518,7 +10517,7 @@ YY_RULE_SETUP
#line 1032 "htmllex.l"
ECHO;
YY_BREAK
#line 10522 "htmllex.c"
#line 10521 "htmllex.c"
case YY_END_OF_BUFFER:
{

View file

@ -587,7 +587,7 @@ RX_DATA [-a-zA-Z0-9_:]+
BEGIN(S_SCRIPT);
}
<S_SCRIPT_COMMENT>-([^-]+|-[^>]+) {
<S_SCRIPT_COMMENT>-([^-\n]+|-[^>\n]+) {
UPDATE_BUFPOS;
UPDATE_LINE;
APPEND_TO_TMP(yyleng);