Skip to content

Commit bd4a3e6

Browse files
committed
NAG Fortran Errors on 'module procedure ::' change to 'module procedure'
1 parent b47871a commit bd4a3e6

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

src/json_module.f90

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -415,11 +415,11 @@ end subroutine array_callback_func
415415
!
416416
! SOURCE
417417
interface json_add
418-
module procedure :: json_value_add_member
419-
module procedure :: json_value_add_integer, json_value_add_integer_vec
420-
module procedure :: json_value_add_double, json_value_add_double_vec
421-
module procedure :: json_value_add_logical, json_value_add_logical_vec
422-
module procedure :: json_value_add_string, json_value_add_string_vec
418+
module procedure json_value_add_member
419+
module procedure json_value_add_integer, json_value_add_integer_vec
420+
module procedure json_value_add_double, json_value_add_double_vec
421+
module procedure json_value_add_logical, json_value_add_logical_vec
422+
module procedure json_value_add_string, json_value_add_string_vec
423423
end interface json_add
424424
!*************************************************************************************
425425

@@ -442,10 +442,10 @@ end subroutine array_callback_func
442442
!
443443
! SOURCE
444444
interface json_update
445-
module procedure :: json_update_logical,&
446-
json_update_double,&
447-
json_update_integer,&
448-
json_update_string
445+
module procedure json_update_logical,&
446+
json_update_double,&
447+
json_update_integer,&
448+
json_update_string
449449
end interface json_update
450450
!*************************************************************************************
451451

@@ -460,12 +460,12 @@ end subroutine array_callback_func
460460
!
461461
! SOURCE
462462
interface json_get
463-
module procedure :: json_get_by_path
464-
module procedure :: json_get_integer, json_get_integer_vec
465-
module procedure :: json_get_double, json_get_double_vec
466-
module procedure :: json_get_logical, json_get_logical_vec
467-
module procedure :: json_get_string, json_get_string_vec
468-
module procedure :: json_get_array
463+
module procedure json_get_by_path
464+
module procedure json_get_integer, json_get_integer_vec
465+
module procedure json_get_double, json_get_double_vec
466+
module procedure json_get_logical, json_get_logical_vec
467+
module procedure json_get_string, json_get_string_vec
468+
module procedure json_get_array
469469
end interface json_get
470470
!*************************************************************************************
471471

@@ -480,7 +480,7 @@ end subroutine array_callback_func
480480
!
481481
! SOURCE
482482
interface json_print_to_string
483-
module procedure :: json_value_to_string
483+
module procedure json_value_to_string
484484
end interface
485485
!*************************************************************************************
486486

@@ -501,8 +501,8 @@ end subroutine array_callback_func
501501
!
502502
! SOURCE
503503
interface json_print
504-
module procedure :: json_print_1 !input is unit number
505-
module procedure :: json_print_2 !input is file name
504+
module procedure json_print_1 !input is unit number
505+
module procedure json_print_2 !input is file name
506506
end interface
507507
!*************************************************************************************
508508

@@ -546,7 +546,7 @@ end subroutine array_callback_func
546546
!
547547
! SOURCE
548548
interface json_destroy
549-
module procedure :: json_value_destroy
549+
module procedure json_value_destroy
550550
end interface
551551
!*************************************************************************************
552552

@@ -561,7 +561,7 @@ end subroutine array_callback_func
561561
!
562562
! SOURCE
563563
interface json_remove
564-
module procedure :: json_value_remove
564+
module procedure json_value_remove
565565
end interface
566566
!*************************************************************************************
567567

@@ -576,7 +576,7 @@ end subroutine array_callback_func
576576
!
577577
! SOURCE
578578
interface json_remove_if_present
579-
module procedure :: json_value_remove_if_present
579+
module procedure json_value_remove_if_present
580580
end interface
581581
!*************************************************************************************
582582

@@ -5714,4 +5714,4 @@ end subroutine json_print_error_message
57145714

57155715
!*****************************************************************************************
57165716
end module json_module
5717-
!*****************************************************************************************
5717+
!*****************************************************************************************

0 commit comments

Comments
 (0)