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

Formatting stalls when encountering long line with floating point numbers #180

Open
marjohma opened this issue Jan 14, 2025 · 0 comments
Open

Comments

@marjohma
Copy link

program test
    implicit none
    integer :: I, jj
    double precision :: A
    real(kind=8) :: B       ! This is a comment for B
    real(kind=8) :: C
    A = 1.0d0
    I = 1
    jj = 59
    C = 8132489.0 + 1340811092340917509718095809185.1850918509871095809148509185 + 019780295710958709185098.1095709175091875098109589
end program

The line with the C causes the issue with the following configuration file:

indent = 4
whitespace-comma = true
whitespace-assignment = true
whitespace-decl = true
whitespace-relational = true
whitespace-logical = true
whitespace-print = true
whitespace-type = true
whitespace-intrinsics = true
enable-decl = true
case = [1, 1, 1, 1]
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

1 participant