Skip to content

Commit

Permalink
Fix hang on unterminated property decls.
Browse files Browse the repository at this point in the history
Bug: issue #1002
Test: new test case
  • Loading branch information
dvander committed Nov 29, 2024
1 parent 329bf95 commit 17c127b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/compile-only/fail-incomplete-property-block.sp
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
methodmap A {
property int p {
1 change: 1 addition & 0 deletions tests/compile-only/fail-incomplete-property-block.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
(3) : error 001: expected token: "public", but found "-end of file-"

0 comments on commit 17c127b

Please sign in to comment.