Skip to content

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

Merged
derekcollison merged 3 commits intomainfrom
issue-5396
May 10, 2024
Merged

[FIXED] Fix to properly deal with block scopes in lexer.#5406
derekcollison merged 3 commits intomainfrom
issue-5396

Conversation

@derekcollison
Copy link
Copy Markdown
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
Copy Markdown
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
@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