newlines are included in block comments

This commit is contained in:
Yuichi Nishiwaki 2014-02-19 01:58:40 +09:00
parent a5f5eb3b06
commit a1a0aff657
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ infnan "+inf.0"|"-inf.0"|"+nan.0"|"-nan.0"
else
yylvalp->i--;
}
<BLOCK_COMMENT>. {
<BLOCK_COMMENT>.|\n {
/* skip block comment */
}