Skip to content

Commit

Permalink
Add error at concat directive
Browse files Browse the repository at this point in the history
  • Loading branch information
hydroper committed May 4, 2024
1 parent 8952fbc commit 67838aa
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/parser/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "as3_parser"
version = "1.0.13"
version = "1.0.14"
edition = "2021"
authors = ["hydroper <[email protected]>"]
repository = "https://github.com/hydroper/as3parser"
Expand Down
3 changes: 3 additions & 0 deletions crates/parser/parser/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3479,6 +3479,9 @@ impl<'input> Parser<'input> {
break;
} else {
package_name.push(self.expect_identifier(true));
if !self.peek(Token::Dot) {
self.non_greedy_expect(Token::Dot);
}
}
}

Expand Down

0 comments on commit 67838aa

Please sign in to comment.