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

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

Merged
merged 8 commits into from
Jan 27, 2021

Conversation

feich-ms
Copy link
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 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 feich-ms merged commit fc25e77 into main Jan 27, 2021
@feich-ms feich-ms deleted the feich/OptimizeSyntaxValidation branch January 27, 2021 06:59
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.

2 participants