You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm just reading through the code, and I may be wrong but...
/* blocks.c > parse_list_marker */// require non-blank content after list marker:while (S_is_space_or_tab(peek_at(input, i))) {
i++;
}
if (peek_at(input, i) =='\n') {
return0;
}
Seeing as the rest of the parser tries to be compatible with CRLF, I would expect S_is_line_end_char to be used instead of just comparing to a newline char. Am I missing why this is not necessary?
Edit: In the following branch for numbered markers, there is the same logic but S_is_line_end_char is used instead, so I'm pretty sure now that this is an oversight.
The text was updated successfully, but these errors were encountered:
I'm just reading through the code, and I may be wrong but...
Seeing as the rest of the parser tries to be compatible with CRLF, I would expect
S_is_line_end_char
to be used instead of just comparing to a newline char. Am I missing why this is not necessary?Edit: In the following branch for numbered markers, there is the same logic but
S_is_line_end_char
is used instead, so I'm pretty sure now that this is an oversight.The text was updated successfully, but these errors were encountered: