diff --git a/linkcheck/parser/htmllex.c b/linkcheck/parser/htmllex.c index 4ae879cb..1c6390a9 100644 --- a/linkcheck/parser/htmllex.c +++ b/linkcheck/parser/htmllex.c @@ -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: { diff --git a/linkcheck/parser/htmllex.l b/linkcheck/parser/htmllex.l index 30ab5571..8597f7be 100644 --- a/linkcheck/parser/htmllex.l +++ b/linkcheck/parser/htmllex.l @@ -587,7 +587,7 @@ RX_DATA [-a-zA-Z0-9_:]+ BEGIN(S_SCRIPT); } --([^-]+|-[^>]+) { +-([^-\n]+|-[^>\n]+) { UPDATE_BUFPOS; UPDATE_LINE; APPEND_TO_TMP(yyleng);