Allow comments in scope (fix typo)

This commit is contained in:
Oscar Gustafsson 2023-09-13 14:18:18 +02:00
parent 1534924d05
commit 03705f263d
3 changed files with 301 additions and 4 deletions

View file

@ -386,7 +386,7 @@ pub(super) fn parse_scopes<'a, R: std::io::Read>(
ident(word_reader, "$end")?;
break;
}
"comment" => {
"$comment" => {
// although we don't store comments, we still need to advance the
// word_reader cursor to the end of the comment
loop {