Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Fix issue in parsing template content #43837

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rdulmina
Copy link
Contributor

Purpose

Lexer produces invalid tokens as template content when the lexer mode goes out of sync with the parser after insertion of a BackTick Token by the error handler. This PR is to fix that issue.

Fixes #43788

Check List

  • Read the Contributing Guide
  • Updated Change Log
  • Checked Tooling Support (#)
  • Added necessary tests
    • Unit Tests
    • Spec Conformance Tests
    • Integration Tests
    • Ballerina By Example Tests
  • Increased Test Coverage
  • Added necessary documentation
    • API documentation
    • Module documentation in Module.md files
    • Ballerina By Examples

Lexer produces invalid tokens as template content when the lexer mode goes out of sync with the parser after insertion of a ``` by the error handler
@rdulmina rdulmina changed the title Fix issue in parsing template content [WIP] Fix issue in parsing template content Feb 24, 2025
@rdulmina rdulmina marked this pull request as draft February 24, 2025 05:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Compiler crashes when a function is followed by an invalid resource function
1 participant