-
Notifications
You must be signed in to change notification settings - Fork 11
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
Wrong formatting with C99 compound literal #22
Comments
This particular example can be fixed with
which works with CWEB 3.6 (May 2005) and up. |
Here's a larger example with a few more tweaks:
|
Thank you for the detailed example, especially about the indentation tweak! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've been using original CWEB to try literate programming for the first time.
Everything was fine, until I noticed a strange formatting when using C99 compound literal syntax.
Then I tried CWEB 4.2, and the problem was not resolved.
Here is a MWE that demonstrates the problem:
This is the output PDF build with
cweave
andpdftex
.In the meantime, I can try manually breaking the lines with
@;
, but I can't see how to manually indent/unindent wrongly formatted code.The text was updated successfully, but these errors were encountered: