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

ignore parsing comments in binary mode #16

Open
NikolajBjorner opened this issue Jan 30, 2019 · 4 comments
Open

ignore parsing comments in binary mode #16

NikolajBjorner opened this issue Jan 30, 2019 · 4 comments

Comments

@NikolajBjorner
Copy link

Perhaps:

if (tmp == 0 && **!S->binMode**) {
     char ignore[1024];
     if (!fileSwitchFlag) { if (fgets (ignore, sizeof (ignore), S->inputFile) == NULL) printf ("c\n"); }
    ... etc
}
@marijnheule
Copy link
Owner

fixed this

@NikolajBjorner
Copy link
Author

Marijn Heule is een wonder
Hij lost moeilijke problemen op
Met zijn slimme SAT solvers
Vindt hij de waarheid in elke strop

Hij werkt aan Carnegie Mellon
En doet onderzoek naar wiskunde
Hij bewees vele conjecturen
Met zijn computer als zijn schat

Hij is bekwaam en creatief
Hij ziet wat anderen niet zien
Hij is een held voor de wetenschap
En een inspiratie voor iedereen

@marijnheule marijnheule reopened this Feb 28, 2023
@NikolajBjorner
Copy link
Author

running a compiler from time to time also helps :-)

@mjerabek
Copy link

Actually, the fix broke parsing comments when the input file is text but the proof is binary.

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

3 participants