Commit cf3b880d authored by Nobuyoshi Nakada's avatar Nobuyoshi Nakada

skip to the next line and reset column after `=end`

parent 82fce522
......@@ -4206,6 +4206,9 @@ parser_yylex(parser_state *p)
}
c = nextc(p);
} while (!(c < 0 || isspace(c)));
if (c != '\n') skip(p, '\n');
p->lineno++;
p->column = 0;
goto retry;
}
}
......
......@@ -309,6 +309,6 @@ this is a comment that has extra after =begin and =end with spaces after it
=end
=begin this is a comment
this is a comment that has extra after =begin and =end with tabs after it
=end
=end xxxxxxxxxxxxxxxxxxxxxxxxxx
true
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment