8000 PG removes newlines in string literals · Issue #428 · ProofGeneral/PG · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

PG removes newlines in string literals #428

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

Closed
soraros opened this issue Jun 26, 2019 · 4 comments
Closed

PG removes newlines in string literals #428

soraros opened this issue Jun 26, 2019 · 4 comments

Comments

@soraros
Copy link
Contributor
soraros commented Jun 26, 2019

This code

Require Import String.
Definition s := "
  a"%string.
Print s.

gives

s = "   a"%string
     : string

which is clearly wrong.

I believe #362 is related.

@samuelgruetter
Copy link

Just ran into this as well, it's quite confusing when a file behaves differently in PG than when compiled with coqc...

@JasonGross
Copy link
Contributor

Can this be fixed? It shows up in Ltac2 as well... rocq-prover/rocq#17931

@SkySkimmer
Copy link
Contributor

Fixed by #774 (I don't have closing rights)

@hendriktews
Copy link
Collaborator

Thanks for the notice.

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

5 participants
0