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

Apostrophes in fixed-format comments throws off linting #364

Open
JakeSparks-WellSky opened this issue Mar 7, 2025 · 3 comments
Open

Apostrophes in fixed-format comments throws off linting #364

JakeSparks-WellSky opened this issue Mar 7, 2025 · 3 comments

Comments

@JakeSparks-WellSky
Copy link

JakeSparks-WellSky commented Mar 7, 2025

If you are working with a program that is a mixture of fixed-format and free-format RPG, and there is a fixed-format comment that includes an apostrophe, the linter throws everything off and stops working after that apostrophe. Free-format comments work fine with an apostrophe.

**free

       *my comment's

       dcl-s myvariable char(20);

       // my comment's
       myVariable = 'Hello World';
@worksofliam
Copy link
Contributor

stops working after that apostrophe

What specifically stops working?

@JakeSparks-WellSky
Copy link
Author

JakeSparks-WellSky commented Mar 7, 2025

The linter won't pick up on any issues in the program that are after the line that has the fixed-format comment with an apostrophe.

@worksofliam
Copy link
Contributor

@JakeSparks-WellSky I tried to compile your example and it's not valid. Am I missing something? Why would you put a fixed-format comment in a **free program?

Image

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

No branches or pull requests

2 participants