-
Notifications
You must be signed in to change notification settings - Fork 1
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
Blank lines aren't ignored #25
Comments
Thanks for all the feedback much appreciated. I'll take a look at all three in the morning. |
Thanks! And thanks for developing this library!
I'm using it in my project: https://github.com/ahenshaw/balas
…________________________________
From: Dan ***@***.***>
Sent: Tuesday, January 2, 2024 2:52:58 PM
To: dandxy89/lp_parser_rs ***@***.***>
Cc: Andrew Henshaw ***@***.***>; Author ***@***.***>
Subject: Re: [dandxy89/lp_parser_rs] Blank lines aren't ignored (Issue #25)
Thanks for all the feedback much appreciated.
I'll take a look at all three in the morning.
—
Reply to this email directly, view it on GitHub<#25 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAOZY2WGXHQTQROHWAXVMFLYMRQRVAVCNFSM6AAAAABBKOOSSOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZUGQ3TOMRRGE>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
I don't think this is fixed everywhere. The specific example that I gave above is fixed, but if I add the blank line after "Binaries", then it doesn't work. My understanding of the spec is that blank lines should be ignored everywhere. |
Also, I believe comments should be more universally allowed. In the example below, I wanted to comment out two constraints, but the parser gives this error:``` Caused by:
Minimize
|
Appreciate all the feedback. Let me take another look at this tonight. |
Blank lines everywhere seem to work properly. However, still can't put comments everywhere. I believe that is the last issue that I've run across. Great job on this! |
I'm not going to have any time this evening to look into this. Will take a look at this tomorrow |
@ahenshaw, could you give it another shot? If it doesn't work out, could you share examples of what's not functioning properly? Would you mind pointing me to the repository/project you're working on? |
This passes all of the tests that I have. Great job! |
Thanks for sharing - will review it over the weekend and see if there is anything I can do in lp_parser that could assist with the work you're doing over there. |
In this simple LP file
if I add a blank line before "Binaries", then the Binaries section is not read. Looking at the Pest file, it seems that blank lines aren't handled as specified in the IBM specs.
The text was updated successfully, but these errors were encountered: