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

last input line is included multiple times in the output file #93

Open
GitMensch opened this issue Jun 5, 2023 · 1 comment
Open

last input line is included multiple times in the output file #93

GitMensch opened this issue Jun 5, 2023 · 1 comment

Comments

@GitMensch
Copy link
Contributor

if that is a copybook with a section you get a "redefinition error" from the compiler
workaround: add a line below the copybook with just a comment, gets translated from

      *

(line with line separator)

to

      *      *      *      *

(line without line separator)

but the only result is a compile warning "line not terminated by a newline", so I don't mind

@sergiosa61
Copy link

I can confirm the bug
if the sergeant's last line is a comment it doesn't cause any problems
the original text
******************************************************************
************************ E N D P R O G R A M********************
******************************************************************
the text after running ocesql
******************************************************************
************************ E N D P R O G R A M********************
******************************************************************
******************************************************************
******************************************************************

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