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

[FIXED] Fix to properly deal with block scopes in lexer. #5406

Merged
merged 3 commits into from May 10, 2024

Conversation

derekcollison
Copy link
Member

@derekcollison derekcollison commented May 10, 2024

We had a bug that was reported that was not handling a block scope where the terminating '}' was on a new line.

Resolves: #5396

Signed-off-by: Derek Collison derek@nats.io

We had a bug that was reported that was not handling a block scope where the terminating '}' was on a new line.

Signed-off-by: Derek Collison <derek@nats.io>
@derekcollison derekcollison requested a review from a team as a code owner May 10, 2024 12:37
Signed-off-by: Derek Collison <derek@nats.io>
Copy link
Member

@wallyqs wallyqs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Add new else based on PR feedback.

Co-authored-by: Waldemar Quevedo <wally@synadia.com>
@derekcollison derekcollison merged commit 31b155b into main May 10, 2024
4 checks passed
@derekcollison derekcollison deleted the issue-5396 branch May 10, 2024 15:37
neilalexander pushed a commit that referenced this pull request May 16, 2024
We had a bug that was reported that was not handling a block scope where
the terminating '}' was on a new line.

Resolves: #5396 

Signed-off-by: Derek Collison <derek@nats.io>

---------

Signed-off-by: Derek Collison <derek@nats.io>
Co-authored-by: Waldemar Quevedo <wally@synadia.com>
wallyqs added a commit that referenced this pull request May 16, 2024
We had a bug that was reported that was not handling a block scope where
the terminating '}' was on a new line.

Resolves: #5396 

Signed-off-by: Derek Collison <derek@nats.io>

---------

Signed-off-by: Derek Collison <derek@nats.io>
Co-authored-by: Waldemar Quevedo <wally@synadia.com>
neilalexander added a commit that referenced this pull request May 16, 2024
Includes the following:

* #5405
* #5406
* #5413
* #5419
* #5420
* #5426
* #5427
* #5428

Signed-off-by: Neil Twigg <neil@nats.io>
neilalexander added a commit that referenced this pull request May 16, 2024
wallyqs added a commit that referenced this pull request May 16, 2024
We had a bug that was reported that was not handling a block scope where
the terminating '}' was on a new line.

Resolves: #5396 

Signed-off-by: Derek Collison <derek@nats.io>

---------

Signed-off-by: Derek Collison <derek@nats.io>
Co-authored-by: Waldemar Quevedo <wally@synadia.com>
bruth pushed a commit that referenced this pull request May 16, 2024
Includes: 
- #5432
- #5431
- #5406

---------

Signed-off-by: Derek Collison <derek@nats.io>
wallyqs added a commit that referenced this pull request May 16, 2024
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.

Comment at end of config file is a parse error
2 participants