Allow comments in scope (fix typo)
This commit is contained in:
parent
1534924d05
commit
03705f263d
3 changed files with 301 additions and 4 deletions
|
@ -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 {
|
||||
|
|
Reference in a new issue