Skip to content

Conversation

worksofliam
Copy link
Member

@worksofliam worksofliam commented Mar 22, 2023

Changes

  • BitLang COBOL implements the COBOL language id as COBOL, whereas our regex was only checking for cobol.
  • I also fixed the default actions for COBOL, as it looks like CRTBNDCBL and CRTCBLMOD does not like unicode at all - but the good news is that CRTSQLCBLI does!

I have tested and is now working as expected.

Checklist

  • have tested my change
  • updated relevant documentation
  • Remove any/all console.logs I added
  • eslint is not complaining
  • have added myself to the contributors' list in CONTRIBUTING.md
  • for feature PRs: PR only includes one feature enhancement.

@chrjorgensen
Copy link
Collaborator

chrjorgensen commented Mar 22, 2023

@worksofliam Why is the regex for language ID case sensitive - wouldn't it be better to just ignore the casing?

@worksofliam worksofliam self-assigned this Mar 22, 2023
@worksofliam
Copy link
Member Author

@chrjorgensen Good point. Got a demo to do today, so I will make sure to get it fixed after that!

chrjorgensen
chrjorgensen previously approved these changes Mar 22, 2023
Copy link
Collaborator

@chrjorgensen chrjorgensen left a comment

Choose a reason for hiding this comment

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

@worksofliam Code is working as expected. I didn't test the default COBOL action setup, though...

@worksofliam worksofliam merged commit 3c9cc68 into master Mar 22, 2023
@worksofliam worksofliam deleted the fix/cobol_language_id branch February 21, 2025 19:02
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