Skip to content

Commit dfafcf3

Browse files
committed
improve output message
1 parent 5919057 commit dfafcf3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/fpm/manifest/build.f90

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,9 @@ subroutine check(table, package_name, error)
160160
continue
161161

162162
case default
163-
call syntax_error(error, "Key "//list(ikey)%key//" is not allowed in [build]"//&
164-
" building package "//package_name)
163+
164+
call syntax_error(error, 'Manifest file syntax error: key "'//list(ikey)%key//'" found in the [build] '//&
165+
'section of package/dependency "'//package_name//'" fpm.toml is not allowed')
165166
exit
166167

167168
end select

0 commit comments

Comments
 (0)