Skip to content

Commit ccdffb4

Browse files
committed
no top-level object
1 parent 3670ba5 commit ccdffb4

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/fpm_compile_commands.F90

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -211,10 +211,7 @@ subroutine cct_write(self, filename, error)
211211
if (allocated(array%key)) deallocate(array%key)
212212

213213
cfg%indent = repeat(' ',3)
214-
write (lun, '(A)', iostat=stat, err=1) '{'
215-
write (lun, '(A)', iostat=stat, err=1) json_serialize(array, cfg)
216-
write (lun, '(A)', iostat=stat, err=1) '}'
217-
214+
write (lun, '(A)', iostat=stat, err=1) json_serialize(array, cfg)
218215
close(lun,iostat=stat)
219216

220217
1 if (stat/=0) then

0 commit comments

Comments
 (0)