Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

Fix the issue caused by additional semicolon at the end of some lu definitions - #1093

Merged
Fei Chen (feich-ms) merged 8 commits into
mainfrom
feich/OptimizeSyntaxValidation
Jan 27, 2021
Merged

Fei Chen (feich-ms) merged 8 commits into
mainfrom
feich/OptimizeSyntaxValidation

Conversation

@feich-ms

Copy link
Copy Markdown
Contributor

Fix the third issue reported in #1092.
Before the fix, semicolon at the end of List entity/Composite entity/phraseList/useFeatures of nDepth definitions will cause string splitting function to add an additional empty string into array which will cause exceptions in the following parsing. After the fix, all the empty string will be removed from the array and the following functions can work correctly.

Test cases are added to validate these fixes.

@feich-ms Fei Chen (feich-ms) changed the title optimize syntax validation Fix the issue caused by additional semicolon at the end of some lu definitions Jan 18, 2021
@feich-ms
Fei Chen (feich-ms) merged commit fc25e77 into main Jan 27, 2021
@feich-ms
Fei Chen (feich-ms) deleted the feich/OptimizeSyntaxValidation branch January 27, 2021 06:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants