Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(exts/devin-lang): Allow code blocks to start without content #101
The DevInParser.bnf has been modified to support code blocks that start with a CODE_BLOCK_START token without requiring mandatory content. This change ensures that code blocks are not incorrectly parsed when they are intended to be empty. Two test cases have been added to DevInParsingTest.kt to validate the parser's behavior with both empty and non-empty code blocks. The testData directory has been updated with a new file, BlockStartOnly.devin, which contains a code block starting with CODE_BLOCK_START without any content, illustrating a valid usage scenario. This commit adheres to the Conventional Commits specification for fixes related to the DevInLanguage extension.
- Loading branch information