Skip to content

Commit c46f234

Browse files
Merge pull request #274 from jacobwilliams/char-count
Fixed an issue where the char_count wasn’t always correct
2 parents b55a0fd + 7e37b1e commit c46f234

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/json_value_module.F90

+3
Original file line numberDiff line numberDiff line change
@@ -8899,6 +8899,9 @@ subroutine push_char(json,c)
88998899

89008900
end if
89018901

8902+
!character count in the current line
8903+
json%char_count = json%char_count - 1
8904+
89028905
end if
89038906

89048907
end subroutine push_char

0 commit comments

Comments
 (0)